commit ca189e33f969144f8eafd7d28300a3492dcd84ec
parent 50fb96450395a35bbf6ae3d9af59efa863895686
Author: sin <sin@2f30.org>
Date: Thu, 20 Feb 2014 16:24:52 +0000
Use the actual path to the rootfs instead of hardcoding it
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create-bootable b/create-bootable
@@ -29,7 +29,7 @@ mkfs.ext2 -L MORPHEUS $partition || exit 1
mount $partition /mnt || exit 1
rmdir /mnt/lost+found
-fakeroot cp -arP root/* /mnt
+fakeroot cp -arP "$root/*" /mnt
extlinux --install /mnt/boot || exit 1
dd if=stuff/mbr.bin of=$lodev conv=notrunc bs=440 count=1