diff --git a/cook.sh b/cook.sh index 8637a7a182998ef7ebdac14d356b29cf0b2d2e25..5f8396fee783410574d42309af667776fc85a852 100755 --- a/cook.sh +++ b/cook.sh @@ -423,7 +423,16 @@ function op { echo "depends = []" >> "stage.toml" fi + rm -rf stage/pkg mkdir -p stage/pkg + + pushd stage > /dev/null + find . -type f | cut -d / -f 2- | sort | while read file + do + sha256sum "$file" >> "pkg/$1.sha256sums" + done + popd > /dev/null + cp -v stage.toml "stage/pkg/$1.toml" pkg --target=$TARGET create stage ;;