commit 6d1ab24ca7ef21f48592ae68a587eb146bd0368a parent c52eb94c4cc031ae8a1c9b999e0a6e87a40f4674 Author: sin <sin@2f30.org> Date: Fri, 28 Feb 2014 11:17:55 +0000 Don't create $root/emul/* at build time All the permissions will be wrong. Simply fetch the tarball and unpack it manually. We can make a create-emul script that will download and unpack it into /emul. Diffstat:
D | pkgs/emul | | | 18 | ------------------ |
M | stage0 | | | 1 | - |
2 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/pkgs/emul b/pkgs/emul @@ -1,18 +0,0 @@ -url=$mirror/arch-rootfs.tar.gz - -fetch() { - wget -c $url -O src/arch-rootfs.tar.gz -} - -unpack() { - cd src - [ -d root.x86_64 ] || tar xzf arch-rootfs.tar.gz - cd - -} - -install() { - cd src - cp -arP root.x86_64/* "$root/emul" - cd - - cp stuff/enter-emul "$root/bin" -} diff --git a/stage0 b/stage0 @@ -13,7 +13,6 @@ packages="crossmusl tinyalsa kernel kernel-headers - emul busybox fs make