mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/image: install project specific files from filesystem folder to image after all packages instalation
This commit is contained in:
parent
543c89c24b
commit
faaba1cbdc
@ -97,11 +97,6 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
|||||||
echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue
|
echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# copy project related files to filesystem
|
|
||||||
if [ -d "$PROJECT_DIR/$PROJECT/filesystem" ]; then
|
|
||||||
cp -PR $PROJECT_DIR/$PROJECT/filesystem/* $INSTALL
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Basissystem...
|
# Basissystem...
|
||||||
$SCRIPTS/install eglibc
|
$SCRIPTS/install eglibc
|
||||||
$SCRIPTS/install gcc-final
|
$SCRIPTS/install gcc-final
|
||||||
@ -150,6 +145,11 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
|||||||
# OEM packages
|
# OEM packages
|
||||||
[ "$OEM_SUPPORT" = "yes" ] && $SCRIPTS/install oem
|
[ "$OEM_SUPPORT" = "yes" ] && $SCRIPTS/install oem
|
||||||
|
|
||||||
|
# copy project related files to filesystem
|
||||||
|
if [ -d "$PROJECT_DIR/$PROJECT/filesystem" ]; then
|
||||||
|
cp -PR $PROJECT_DIR/$PROJECT/filesystem/* $INSTALL
|
||||||
|
fi
|
||||||
|
|
||||||
# run depmod
|
# run depmod
|
||||||
KVER=`ls $BUILD/linux-*/modules/lib/modules`
|
KVER=`ls $BUILD/linux-*/modules/lib/modules`
|
||||||
$ROOT/$TOOLCHAIN/bin/depmod -b $INSTALL $KVER > /dev/null
|
$ROOT/$TOOLCHAIN/bin/depmod -b $INSTALL $KVER > /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user