Commit Graph

12 Commits

Author SHA1 Message Date
sin b5228bae46 Refuse to run create-bootable if $ROOT is not set 2014-04-18 13:08:18 +01:00
sin f767b158fc Simply use cat to write mbr.bin 2014-03-25 14:26:33 +00:00
sin 77bf905404 Fallback to dd if fallocate fails
Only certain filesystems support the fallocate system call.
2014-03-15 14:32:22 +00:00
sin 68a54b61f2 Use fallocate to create the img file instead of dd
This is *much* faster.
2014-03-15 14:27:13 +00:00
sin 0d082f17d8 Default to an ext4 partition instead of ext2 2014-03-07 10:55:24 +00:00
sin 8d6bcc74b8 Move set -e -x after the usage line 2014-03-06 10:27:06 +00:00
sin baa70b4e3b Move set -x at the top 2014-03-05 17:47:33 +00:00
Hiltjo Posthuma 1b466d4935 create-bootable: use /mnt/morpheus as mountpoint 2014-03-04 16:24:57 +00:00
Hiltjo Posthuma 802de1b750 create-bootable: make compatible with busybox losetup
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-03-04 16:23:27 +00:00
Hiltjo Posthuma a80ea3ef83 create-bootable: reduce image from 4gb to 2gb
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-03-04 16:22:56 +00:00
sin 0239116cb9 No need to use || exit 1
We run the script with set -e, so on the first error we will
exit automatically.
2014-03-04 13:43:05 +00:00
Daniel Bainton d71bb4e966 Move to a mk based build system 2014-02-28 14:22:25 +02:00