fixed for klibc under lib64
This commit is contained in:
parent
82bfe848ad
commit
83734da95f
5
mkinitfs
5
mkinitfs
@ -48,6 +48,7 @@ dir /etc/udev 0755 0 0
|
||||
dir /etc/udev/rules.d 0755 0 0
|
||||
|
||||
dir /lib 0755 0 0
|
||||
dir /lib64 0755 0 0
|
||||
dir /lib/udev 0755 0 0
|
||||
dir /lib/modules 0755 0 0
|
||||
|
||||
@ -61,8 +62,8 @@ file /sbin/modprobe /lib/mkinitrd/module-init-tools/sbin/modprobe 0755 0 0
|
||||
file /init init 0755 0 0
|
||||
EOF
|
||||
|
||||
find /lib/mkinitrd/klibc/lib -xtype f|\
|
||||
sed -e 's,/lib/mkinitrd/klibc,,' -e 's,^.\+$,file\t&\t/lib/mkinitrd/klibc&\t0755\t0 0,g'
|
||||
find /lib/mkinitrd/klibc -xtype f -name klibc\*.so|\
|
||||
sed -e 's,^.\+/\([^\/]\+/[^\/]\+\)$,file\t/\1\t&\t0755\t0 0,g'
|
||||
find /lib/mkinitrd/udev -type f|\
|
||||
sed -e 's,/lib/mkinitrd/udev,,' -e 's,^.\+$,file\t&\t/lib/mkinitrd/udev&\t0755\t0 0,g'
|
||||
find /etc/modprobe.d/ /etc/udev/rules.d -type f|\
|
||||
|
Loading…
Reference in New Issue
Block a user