mirror of git://git.2f30.org/morpheus.git
create-bootable: make compatible with busybox losetup
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
parent
1d76ab381b
commit
802de1b750
|
@ -26,7 +26,8 @@ w
|
|||
EOF
|
||||
) | fdisk $img
|
||||
|
||||
lodev=$(losetup -f --show $img)
|
||||
lodev=$(losetup -f)
|
||||
losetup "$lodev" "$img"
|
||||
partition="$lodev"p1
|
||||
mkfs.ext2 -L MORPHEUS $partition
|
||||
mount $partition /mnt
|
||||
|
|
Loading…
Reference in New Issue