Use "pkg create" to build package

This commit is contained in:
Ian Douglas Scott 2017-04-24 21:40:12 -07:00
parent 6085656526
commit cad99ecff5
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959
2 changed files with 7 additions and 3 deletions

View File

@ -195,9 +195,7 @@ function op {
rm -rfv stage
;;
tar)
pushd stage > /dev/null
tar cfv ../stage.tar .
popd > /dev/null
$ROOT/pkgutils/target/release/pkg create stage
;;
untar)
rm -rfv stage.tar

View File

@ -24,4 +24,10 @@ then
cargo install -f xargo
fi
echo "Building pkgutils"
pushd pkgutils
# TODO Change pkgutils to not hard code TARGET
TARGET=x86_64-unknown-redox cargo build --release
popd
echo "cook.sh is ready to use"