Skip to content

Commit

Permalink
Try to remove fsck from mkinitcpio.conf without removing all instances
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgdemon committed Jan 14, 2024
1 parent 322e887 commit 8547456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def mkinitcpio():
f.write("fallback_options=\"-S autodetect\"\n")

# Configure mkinitcpio
subprocess.run(["chroot", MNT, "sed", "-i", "s|filesystems|zfs filesystems|", "/etc/mkinitcpio.conf"], check=True)
subprocess.run(["chroot", MNT, "sed", "-i", "s|filesystems fsck|zfs filesystems|", "/etc/mkinitcpio.conf"], check=True)

# Run mkinitcpio
subprocess.run(["chroot", "/tmp/maloneyos", "mkinitcpio", "-P"], check=True)
Expand Down

0 comments on commit 8547456

Please sign in to comment.