Skip to content

Commit

Permalink
create_disk: drop ext4 metadata_csum_seed handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dustymabe committed Dec 4, 2023
1 parent 22dbf07 commit 383349c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/create_disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ os_name=$(getconfig "osname")
rootfs_size=$(getconfig "rootfs-size")
buildid=$(getconfig "buildid")
imgid=$(getconfig "imgid")
bootfs_metadata_csum_seed=$(getconfig_def "bootfs_metadata_csum_seed" "false")

set -x

Expand Down Expand Up @@ -217,15 +216,6 @@ boot_dev="${disk}${BOOTPN}"
root_dev="${disk}${ROOTPN}"

bootargs=
# If the bootfs_metadata_csum_seed image.yaml knob is set to true then
# we'll enable the metadata_csum_seed filesystem feature. This is
# gated behind an image.yaml knob because support for this feature
# flag was only recently added to grub.
# https://lists.gnu.org/archive/html/grub-devel/2021-06/msg00031.html
if [ "${bootfs_metadata_csum_seed}" == "true" ]; then
bootargs+=" -O metadata_csum_seed"
fi

# Detect if the target system supports orphan_file.
# https://github.com/coreos/coreos-assembler/pull/3653#issuecomment-1813181723
# Ideally, we'd do feature detection here but there's no clean way to do that.
Expand Down

0 comments on commit 383349c

Please sign in to comment.