[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295412: initrd-tools: Fails to ignore 32bit emulation layer on ldd calls



This seems to be a dup of #279382.

Assuming that valid shared library paths start with '/'
I would suggest to apply this patch to mkinitrd:


@@ -1181,7 +1198,7 @@
                        add_command $i
                done
                exec 3>&-
-               < tmp2 sed 's/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/'
+               < tmp2 awk '/.*=>[[:blank:]]*\/[^[:blank:]]*.*/ { print $3 };'

                echo /dev/console
                echo /dev/null



Regards

Harri

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: