Merge pull request #2888 from fewtarius/dev

Fix initramfs oops.
This commit is contained in:
fewtarius 2024-02-14 11:28:44 -05:00 committed by GitHub
commit af4043b7e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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