2012-07-13 20:58:39 +02:00
|
|
|
findTarballs() {
|
|
|
|
local suffix
|
|
|
|
test -d "$1/tarballs/" && {
|
|
|
|
for suffix in tar.gz tgz tar.bz2 tbz2 tar.xz tar.lzma; do
|
|
|
|
ls $1/tarballs/*.$suffix 2> /dev/null
|
|
|
|
done | sort
|
|
|
|
}
|
|
|
|
echo "$1"
|
|
|
|
}
|
|
|
|
|
|
|
|
propagateImageName() {
|
2014-06-30 14:56:10 +02:00
|
|
|
mkdir -p $out/nix-support
|
2012-07-13 20:58:39 +02:00
|
|
|
cat "$diskImage"/nix-support/full-name > $out/nix-support/full-name
|
|
|
|
}
|