Skip to content
Snippets Groups Projects
Verified Commit 9dcafe9a authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add sha256sums file storing a list of every file in a package and their checksum

parent 6eb28fa4
No related branches found
No related tags found
No related merge requests found
......@@ -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
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment