- remove use_all_paths_udev.patch, /lib/udev.. is a symlink to /usr nowadays this confuses other parts of the code causing errors/warnings during the initrd generation. OBS-URL: https://build.opensuse.org/request/show/203550 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=78
17 lines
475 B
Diff
17 lines
475 B
Diff
--- dracut-034.orig/mkinitrd-dracut.sh
|
|
+++ dracut-034/mkinitrd-dracut.sh
|
|
@@ -110,6 +110,13 @@ default_kernel_images() {
|
|
force=1
|
|
}
|
|
|
|
+if which logger &>/dev/null && which tr &>/dev/null;then
|
|
+ self=$(tr "\000" " " </proc/$$/cmdline)
|
|
+ self=${self#/bin/bash --norc }
|
|
+ parent=$(tr "\000" " " </proc/$PPID/cmdline)
|
|
+ logger -- "$self called by $parent"
|
|
+fi
|
|
+
|
|
while (($# > 0)); do
|
|
case ${1%%=*} in
|
|
--with-usb) read_arg usbmodule "$@" || shift $?
|