Merge pull request #255 from Gujs/openelec-updates

scripts/image: install project specific files from filesystem folder to ...
This commit is contained in:
Stephan Raue 2012-02-29 11:36:07 -08:00
commit 3479510419

View File

@ -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