mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
fi
|
||||
|
||||
# copy project related files to filesystem
|
||||
if [ -d "$PROJECT_DIR/$PROJECT/filesystem" ]; then
|
||||
cp -PR $PROJECT_DIR/$PROJECT/filesystem/* $INSTALL
|
||||
fi
|
||||
|
||||
# Basissystem...
|
||||
$SCRIPTS/install eglibc
|
||||
$SCRIPTS/install gcc-final
|
||||
@ -150,6 +145,11 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
# OEM packages
|
||||
[ "$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
|
||||
KVER=`ls $BUILD/linux-*/modules/lib/modules`
|
||||
$ROOT/$TOOLCHAIN/bin/depmod -b $INSTALL $KVER > /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user