]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(systemd-sysext): stop adding *.raw to the initramfs automatically
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 8 Oct 2025 16:40:46 +0000 (12:40 -0400)
committerBenjamin Drung <bdrung@ubuntu.com>
Sat, 1 Nov 2025 22:47:13 +0000 (23:47 +0100)
These .raw files are full OS trees and are rather huge, adding a
specific .raw one manually seems like a legit use-case.

modules.d/11systemd-sysext/module-setup.sh

index 321c57a6f1285d1cf67f5ae5c04e417a4c6e319d..fd26fd6153d5062e7ecd7e66eed8fe809941ba42 100755 (executable)
@@ -41,7 +41,6 @@ install() {
     # regular files, but not with directory trees.
 
     inst_multiple -o \
-        "/usr/lib/confexts/*.raw" \
         "/usr/lib/extension-release.d/extension-release.*" \
         "$systemdsystemunitdir"/systemd-confext${_suffix}.service \
         "$systemdsystemunitdir/systemd-confext${_suffix}.service.d/*.conf" \
@@ -64,10 +63,7 @@ install() {
     # Install the hosts local user configurations if enabled.
     if [[ $hostonly ]]; then
         inst_multiple -H -o \
-            "/etc/extensions/*.raw" \
             "/etc/extension-release.d/extension-release.*" \
-            "/var/lib/confexts/*.raw" \
-            "/var/lib/extensions/*.raw" \
             "$systemdsystemconfdir"/systemd-confext${_suffix}.service \
             "$systemdsystemconfdir/systemd-confext${_suffix}.service.d/*.conf" \
             "$systemdsystemconfdir"/systemd-sysext${_suffix}.service \