diff --git a/cook.sh b/cook.sh index 5c0ac2914e7d63f03612d10884edef90d6c0304c..36549d991dc761f6c1b903d424942a7ae07c1de1 100755 --- a/cook.sh +++ b/cook.sh @@ -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 diff --git a/setup.sh b/setup.sh index 62aa36f5b1eabccc3c5ce7f12adcacc68e2882cc..795627d99f1f45cc6a56329133dc766da5060e4e 100755 --- a/setup.sh +++ b/setup.sh @@ -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"