mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-11 20:01:48 +00:00
run: no duplicates in create_tar_from_depot
This patch ensures that depot snapshots created by the run tool won't contain duplicated content, which would result cyclic hard links.
This commit is contained in:
@ -243,7 +243,7 @@ proc create_tar_from_depot_binaries { archive_path args } {
|
|||||||
|
|
||||||
check_for_missing_depot_archives
|
check_for_missing_depot_archives
|
||||||
|
|
||||||
eval "exec tar cf $archive_path -C [depot_dir] $content"
|
eval "exec tar cf $archive_path -C [depot_dir] [lsort -unique $content]"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user