30 lines
1.6 KiB
Bash
30 lines
1.6 KiB
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
ln -f /usr/lib/x86_64-linux-gnu/libaio.so.1 /usr/lib/libaio.so.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/libblkid.so.1 /usr/lib/libblkid.so.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/liblz4.so.1 /usr/lib/liblz4.so.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/libzstd.so.1 /usr/lib/libzstd.so.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/libpthread.so.0 /usr/lib/libpthread.so.0
|
|
ln -f /usr/lib/x86_64-linux-gnu/libgpg-error.so.0 /usr/lib/libgpg-error.so.0
|
|
ln -f /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 /usr/lib/libgcrypt.so.20
|
|
ln -f /usr/lib/x86_64-linux-gnu/libcap.so.2 /usr/lib/libcap.so.2
|
|
ln -f /usr/lib/x86_64-linux-gnu/libsystemd.so.0 /usr/lib/libsystemd.so.0
|
|
ln -f /usr/lib/x86_64-linux-gnu/libmd.so.0 /usr/lib/libmd.so.0
|
|
ln -f /usr/lib/x86_64-linux-gnu/libbsd.so.0 /usr/lib/libbsd.so.0
|
|
ln -f /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/libtinfo.so.6
|
|
ln -f /usr/lib/x86_64-linux-gnu/libedit.so.2 /usr/lib/libedit.so.2
|
|
ln -f /usr/lib/x86_64-linux-gnu/libm.so.6 /usr/lib/libm.so.6
|
|
ln -f /usr/lib/x86_64-linux-gnu/libudev.so.1 /usr/lib/libudev.so.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/libc.so.6 /usr/lib/libc.so.6
|
|
ln -f /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 /usr/lib/libpcre2-8.so.0
|
|
ln -f /usr/lib/x86_64-linux-gnu/libselinux.so.1 /usr/lib/libselinux.so.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 /usr/lib/libdevmapper.so.1.02.1
|
|
ln -f /usr/lib/x86_64-linux-gnu/libdevmapper-event.so.1.02.1 /usr/lib/libdevmapper-event.so.1.02.1
|
|
|
|
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs
|
|
chmod +x /usr/sbin/update-initramfs
|
|
update-initramfs -c -k all
|
|
rm /boot/initrd.img* || true
|