1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-26 01:18:37 +00:00
morpheus/pkgs/emul
sin 5ffd49a86d We can build with dash too now
Also rename pkgs/arch-rootfs to pkgs/emul.

The create-bootable script still needs to be fixed
to work with dash.
2014-02-14 10:58:17 +00:00

19 lines
256 B
Plaintext

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
}