morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus.git
Log | Files | Refs | Submodules | README | LICENSE

commit 7d2aae0e90aa112b4f735b5baf7a1bc6c69d28f4
parent 7ca64ab1bcea263976ba1c4ef39774afbc28e55f
Author: sin <sin@2f30.org>
Date:   Tue Sep 17 19:04:01 +0100

Rename bootable image

Diffstat:
create-bootable | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/create-bootable b/create-bootable @@ -2,8 +2,10 @@ # # Ensure you've loaded the loop module with max_part=15 -dd if=/dev/zero of=morpheus-boot.img bs=256M count=1 -fdisk morpheus-boot.img <<< ' +img=morpheus-x86_64-0.0.img + +dd if=/dev/zero of=$img bs=256M count=1 +fdisk $img <<< ' o n p @@ -14,7 +16,7 @@ a 1 w' -lodev=$(losetup -f --show morpheus-boot.img) || exit 1 +lodev=$(losetup -f --show $img) || exit 1 partition="$lodev"p1 mkfs.ext2 -L MORPHEUS $partition || exit 1 mount $partition /mnt || exit 1