forked from Mirror/pmbootstrap
Disable metadata_csum when generating ext4 rootfs (#1367)
Some downstream kernels don't support this, and this recently became the default in e2fsprogs.
This commit is contained in:
parent
941cb4d44f
commit
491ee6b1c1
3 changed files with 10 additions and 6 deletions
|
@ -58,7 +58,11 @@ def format_and_mount_pm_crypt(args):
|
|||
# Format
|
||||
if not args.rsync:
|
||||
logging.info("(native) format " + device)
|
||||
pmb.chroot.root(args, ["mkfs.ext4", "-F", "-q", "-L", "pmOS_root", device])
|
||||
# Some downstream kernels don't support metadata_csum (#1364).
|
||||
# When changing the options of mkfs.ext4, also change them in the
|
||||
# recovery zip code (see 'grep -r mkfs\.ext4')!
|
||||
pmb.chroot.root(args, ["mkfs.ext4", "-O", "^metadata_csum", "-F",
|
||||
"-q", "-L", "pmOS_root", device])
|
||||
|
||||
# Mount
|
||||
mountpoint = "/mnt/install"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue