Skip to content

Commit

Permalink
Merge pull request #1049 from flyingcircusio/PL-132780-image-bootstrap
Browse files Browse the repository at this point in the history
images.fc: fix opening with kernel 5.15
  • Loading branch information
dpausp committed Jul 4, 2024
2 parents 7cc3ddf + f396550 commit e4b5a68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release/make-disk-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,13 @@ let format' = format; in let
# mkfs.xfs does not support --offset, so we must place a separately
# generated XFS image into the main disk image.
truncate -s ''${sizeMB}M rootfs.img
mkfs.xfs -L ${rootLabel} rootfs.img
# TODO: nrext64 can be enabled again once we are at kernel >= 6.5 in the VMs
mkfs.xfs -i nrext64=0 -L ${rootLabel} rootfs.img
dd if=rootfs.img of=$diskImage bs=1M seek=$startMB count=$sizeMB \
conv=sparse,notrunc iflag=direct
rm rootfs.img
'' else ''
mkfs.xfs -L ${rootLabel} $diskImage
mkfs.xfs -i nrext64=0 -L ${rootLabel} $diskImage
''}
root="$PWD/root"
Expand Down

0 comments on commit e4b5a68

Please sign in to comment.