commit b5c9de9c13bda5b70e73a93a010571475a2cc16d
parent 727e5c46bba2b249b8a397615a1a269f74455ecd
Author: sin <sin@2f30.org>
Date: Mon, 16 Sep 2013 13:57:57 +0100
Switch to ext2 and use fakeroot when we copy the rootfs
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/create-bootable b/create-bootable
@@ -15,10 +15,10 @@ w'
lodev=$(losetup -f --show morpheus-boot.img) || exit 1
partition="$lodev"p1
-mkfs.ext4 $partition || exit 1
+mkfs.ext2 $partition || exit 1
mount $partition /mnt || exit 1
-cp -dar root/* /mnt
+fakeroot cp -dar root/* /mnt
extlinux --install /mnt/boot || exit 1
dd if=data/mbr.bin conv=notrunc bs=440 count=1 of=$lodev