]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
udev: patch to handle pidfs and bcachefs
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 26 Dec 2024 09:19:20 +0000 (10:19 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 26 Dec 2024 09:28:00 +0000 (10:28 +0100)
this is needed to build udev with kernel 6.12 headers

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/udev
src/patches/systemd-254-linux-6.12-fs.patch [new file with mode: 0644]

index dba2aa05b4676005cccfd1a38181be0294f976b0..f182f12897e44836cf5d095bd6dfc33d5e8ec326 100644 (file)
--- a/lfs/udev
+++ b/lfs/udev
@@ -73,6 +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/systemd-254-linux-6.12-fs.patch
        cd $(DIR_APP) && tar axf $(DIR_DL)/udev-lfs-$(RULES_VER).tar.xz
 
        # Remove two unneeded groups (render and sgx) from the default udev rules
diff --git a/src/patches/systemd-254-linux-6.12-fs.patch b/src/patches/systemd-254-linux-6.12-fs.patch
new file mode 100644 (file)
index 0000000..267afcc
--- /dev/null
@@ -0,0 +1,19 @@
+diff -Naur systemd-254.org/src/basic/filesystems-gperf.gperf systemd-254/src/basic/filesystems-gperf.gperf
+--- systemd-254.org/src/basic/filesystems-gperf.gperf  2023-07-28 10:26:32.000000000 +0200
++++ systemd-254/src/basic/filesystems-gperf.gperf      2024-11-27 14:27:23.071774791 +0100
+@@ -28,6 +28,7 @@
+ anon_inodefs,    {ANON_INODE_FS_MAGIC}
+ autofs,          {AUTOFS_SUPER_MAGIC}
+ balloon-kvm,     {BALLOON_KVM_MAGIC}
++bcachefs,        {BCACHEFS_SUPER_MAGIC}
+ bdev,            {BDEVFS_MAGIC}
+ binder,          {BINDERFS_SUPER_MAGIC}
+ binfmt_misc,     {BINFMTFS_MAGIC}
+@@ -91,6 +92,7 @@
+ openpromfs,      {OPENPROM_SUPER_MAGIC}
+ orangefs,        {ORANGEFS_DEVREQ_MAGIC}
+ overlay,         {OVERLAYFS_SUPER_MAGIC}
++pidfs,           {PID_FS_MAGIC}
+ pipefs,          {PIPEFS_MAGIC}
+ ppc-cmm,         {PPC_CMM_MAGIC}
+ proc,            {PROC_SUPER_MAGIC}