commit
af4043b7e4
1 changed files with 6 additions and 1 deletions
|
@ -20,7 +20,12 @@ if [ "${INITRAMFS_PARTED_SUPPORT}" = yes ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
( cd ${BUILD}/initramfs
|
(
|
||||||
|
if [ ! -d "${BUILD}/initramfs" ]
|
||||||
|
then
|
||||||
|
mkdir ${BUILD}/initramfs
|
||||||
|
fi
|
||||||
|
cd ${BUILD}/initramfs
|
||||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||||
ln -sfn /usr/lib ${BUILD}/initramfs/lib64
|
ln -sfn /usr/lib ${BUILD}/initramfs/lib64
|
||||||
mkdir -p ${BUILD}/initramfs/usr
|
mkdir -p ${BUILD}/initramfs/usr
|
||||||
|
|
Loading…
Reference in a new issue