Fix initramfs oops.

This commit is contained in:
fewtarius 2024-02-14 16:27:35 +00:00
parent 1720ba807a
commit fce6aa6dec
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -20,7 +20,12 @@ if [ "${INITRAMFS_PARTED_SUPPORT}" = yes ]; then
fi
post_install() {
( cd ${BUILD}/initramfs
(
if [ ! -d "${BUILD}/initramfs" ]
then
mkdir ${BUILD}/initramfs
fi
cd ${BUILD}/initramfs
if [ "${TARGET_ARCH}" = "x86_64" ]; then
ln -sfn /usr/lib ${BUILD}/initramfs/lib64
mkdir -p ${BUILD}/initramfs/usr