commit 3f7d113642f52a67ddb63787159532a79dfb0145 Author: eabdullin Date: Tue Dec 2 16:35:10 2025 +0300 Do not add /boot twice for btrfs subvolumes diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..07205e8 --- /dev/null +++ b/config.yaml @@ -0,0 +1,34 @@ +actions: + - replace: + - target: "grubby-bls" + find: | + get_prefix() { + if [[ $bootloader = grub2 ]] && mountpoint -q /boot; then + echo "/boot" + else + echo "" + fi + } + replace: | + get_prefix() { + if [[ $bootloader = grub2 ]] && mountpoint -q /boot; then + prefix_kern="/boot" + else + prefix_kern="" + fi + if [[ $(stat -f --format=%T /boot) = "btrfs" ]] && [[ $(stat --format=%i /boot) = "256" ]]; then + prefix_kern="" + fi + echo "$prefix_kern" + } + count: 1 + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Do not add /boot twice for btrfs subvolumes"