Unified · Split
| @@ -151,7 +151,11 @@ parted $FILENAME toggle 1 boot · 150 unmodified lines | |||
| 151 | LOOPDEV=$(losetup --show --find $FILENAME) | 151 | LOOPDEV=$(losetup --show --find $FILENAME) |
| 152 | partx -a $LOOPDEV | 152 | partx -a $LOOPDEV |
| 153 | mkfs.${BOOT_FSTYPE} $_args ${LOOPDEV}p1 >/dev/null | 153 | mkfs.${BOOT_FSTYPE} $_args ${LOOPDEV}p1 >/dev/null |
| 154 | mkfs.${ROOT_FSTYPE} ${LOOPDEV}p2 >/dev/null 2>&1 | 154 | |
| 155 | case "$ROOT_FSTYPE" in | ||
| 156 | ext[34]) disable_journal="-O ^has_journal";; | ||
| 157 | esac | ||
| 158 | mkfs.${ROOT_FSTYPE} $disable_journal ${LOOPDEV}p2 >/dev/null 2>&1 | ||
| 155 | 159 | ||
| 156 | info_msg "Unpacking rootfs tarball ..." | 160 | info_msg "Unpacking rootfs tarball ..." |
| 157 | ROOTFSDIR=$(mktemp -d) | 161 | ROOTFSDIR=$(mktemp -d) |