From patchwork Fri May 8 10:30:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9816 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4gBlkK4YD2z3x9l for ; Fri, 08 May 2026 10:30:17 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4gBlkJ1cHSz7BW for ; Fri, 08 May 2026 10:30:16 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4gBlkH3xsnz3340 for ; Fri, 08 May 2026 10:30:15 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4gBlkD6hMzz2xSY for ; Fri, 08 May 2026 10:30:12 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4gBlkD1k0Bz340; Fri, 08 May 2026 10:30:12 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1778236212; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jmANAG03GS1t6kQ4HjW3Ffykwr6c3Kk2/tid3+pcpd8=; b=gnkDumdAG0PRhL/odlW7zIqNiqGccAqjKS7MpuH9dxophVYJNKeEbK2Tag6G3xglncWE64 xwXj+ElIugldWeAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1778236212; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jmANAG03GS1t6kQ4HjW3Ffykwr6c3Kk2/tid3+pcpd8=; b=pzHlddTf60ufFKT10DGd/cSvE8ZWTRMmAoMw+38qKLFNuiUD0RCY6wL+o1HohiCXm0g8yM +rulowqCpPgrw/JnZCFgXZ7UiPNeeM0amn1/guT/scCDoi3h0GqZcjRpwrVbjUE3fJ0pQr lPzybKo6xhakxaSVt5k0OLxKVZFkptVOYh8oQLaG0go0keRiXptfcd6oqEbcioYjSfWccs IomjSwwR4qdty8bBnxguZNtuk1FJMkUs7+0h6Ayn8sr2sIjFvcP5ZL27r+4LUA7UYzc9Cv 8JHZX4JwQiL2viYmICt1uv2XN4VVmdc4lVZRnAIUFVUJgZWBAkiLwJBwWbAzDg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] grub-btrfs: Update to version 4.14 Date: Fri, 8 May 2026 12:30:07 +0200 Message-ID: <20260508103008.36823-3-adolf.belka@ipfire.org> In-Reply-To: <20260508103008.36823-1-adolf.belka@ipfire.org> References: <20260508103008.36823-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 4.13 to 4.14 - Update of rootfile - Updated remove bug report url patch - Changelog 4.14 Update grub-btrfsd submenu creation by @bkmo in #289 Add codespell support (config, workflow to alert on new typos) + make it fix typos by @yarikoptic in #309 Update Arch Linux package URL in README.md by @felixonmars in #305 Fix bashism by @bastien-roucaries in #311 add support for yabsnap snapshot information by @64-bitman in #318 Fix RAID by @aidan-gibson in #325 Add support for GRUB patches from SUSE by @StollD in #321 add support for booting snapshots on LUKS encrypted disk by @cip91sk in #333 Get default early initrd list from GRUB_EARLY_INITRD_LINUX_STOCK by @JustTNE in #389 Ignore Podman container images by @wgalen in #380 Signed-off-by: Adolf Belka --- config/rootfiles/common/grub-btrfs | 4 ++-- lfs/grub-btrfs | 8 ++++---- ...patch => grub-btrfs-4.14-remove_bug_report_url.patch} | 9 ++++----- 3 files changed, 10 insertions(+), 11 deletions(-) rename src/patches/grub-btrfs/{grub-btrfs-4.13-remove_bug_report_url.patch => grub-btrfs-4.14-remove_bug_report_url.patch} (55%) diff --git a/config/rootfiles/common/grub-btrfs b/config/rootfiles/common/grub-btrfs index 1a91d38b2..ad75da387 100644 --- a/config/rootfiles/common/grub-btrfs +++ b/config/rootfiles/common/grub-btrfs @@ -9,5 +9,5 @@ usr/bin/grub-btrfsd #usr/share/licenses #usr/share/licenses/grub-btrfs #usr/share/licenses/grub-btrfs/LICENSE -#usr/share/man/man8/grub-btrfs.8.bz2 -#usr/share/man/man8/grub-btrfsd.8.bz2 +#usr/share/man/man8/grub-btrfs.8 +#usr/share/man/man8/grub-btrfsd.8 diff --git a/lfs/grub-btrfs b/lfs/grub-btrfs index 63428258e..a9c2793fc 100644 --- a/lfs/grub-btrfs +++ b/lfs/grub-btrfs @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 4.13 +VER = 4.14 THISAPP = grub-btrfs-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = e2f11a0a8282e3ec8ff8223e3bad70b5d5c5e81b4d740a1bf3554db412dbe48a8a0f216f4e6c65ae1d11c01a27b8b92bae9b470c60d2389505ce089511536e1a +$(DL_FILE)_BLAKE2 = 361fabb41e603f84af096925db7498e24ff68436b9f32cc6d1fe81dd4db58826d02052181d577b6484290016c11009d0b138c4187fcedb76848ef7a52b55222f install : $(TARGET) @@ -73,7 +73,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/grub-btrfs/grub-btrfs-4.13-remove_bug_report_url.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/grub-btrfs/grub-btrfs-4.14-remove_bug_report_url.patch $(UPDATE_AUTOMAKE) cd $(DIR_APP) && GRUB_UPDATE_EXCLUDE=true make install @rm -rf $(DIR_APP) diff --git a/src/patches/grub-btrfs/grub-btrfs-4.13-remove_bug_report_url.patch b/src/patches/grub-btrfs/grub-btrfs-4.14-remove_bug_report_url.patch similarity index 55% rename from src/patches/grub-btrfs/grub-btrfs-4.13-remove_bug_report_url.patch rename to src/patches/grub-btrfs/grub-btrfs-4.14-remove_bug_report_url.patch index fae632dd3..93ddaaec7 100644 --- a/src/patches/grub-btrfs/grub-btrfs-4.13-remove_bug_report_url.patch +++ b/src/patches/grub-btrfs/grub-btrfs-4.14-remove_bug_report_url.patch @@ -1,6 +1,5 @@ -diff -Naur grub-btrfs-4.13.org/41_snapshots-btrfs grub-btrfs-4.13/41_snapshots-btrfs ---- grub-btrfs-4.13.org/41_snapshots-btrfs 2023-06-05 08:55:44.000000000 +0200 -+++ grub-btrfs-4.13/41_snapshots-btrfs 2024-03-31 15:18:56.660479209 +0200 +--- grub-btrfs-4.14/41_snapshots-btrfs.orig 2025-09-17 07:41:59.000000000 +0200 ++++ grub-btrfs-4.14/41_snapshots-btrfs 2026-05-05 20:29:04.312330374 +0200 @@ -48,8 +48,7 @@ print_error() { @@ -12,9 +11,9 @@ diff -Naur grub-btrfs-4.13.org/41_snapshots-btrfs grub-btrfs-4.13/41_snapshots-b } @@ -78,7 +77,7 @@ - [[ "${GRUB_BTRFS_DISABLE,,}" == "true" ]] && print_error "GRUB_BTRFS_DISABLE is set to true (default=false)" + [ "$(echo "$GRUB_BTRFS_DISABLE" | tr '[:upper:]' '[:lower:]')" = 'true' ] && print_error "GRUB_BTRFS_DISABLE is set to true (default=false)" if ! type btrfs >/dev/null 2>&1; then print_error "btrfs-progs isn't installed"; fi - [[ -f "${GRUB_BTRFS_MKCONFIG_LIB:-/usr/share/grub/grub-mkconfig_lib}" ]] && . "${GRUB_BTRFS_MKCONFIG_LIB:-/usr/share/grub/grub-mkconfig_lib}" || print_error "grub-mkconfig_lib couldn't be found" + [ -f "${GRUB_BTRFS_MKCONFIG_LIB:-/usr/share/grub/grub-mkconfig_lib}" ] && . "${GRUB_BTRFS_MKCONFIG_LIB:-/usr/share/grub/grub-mkconfig_lib}" || print_error "grub-mkconfig_lib couldn't be found" -[[ "$(btrfs filesystem df / 2>&1)" == *"not a btrfs filesystem"* ]] && print_error "Root filesystem isn't btrfs" +[[ "$(btrfs filesystem df / 2>&1)" == *"not a btrfs filesystem"* ]] && print_error "Root filesystem isn't btrfs, skipping..."