scripts/image: install project specific files from filesystem folder to image after all packages instalation

This commit is contained in:
Gregor Fuis 2012-02-29 20:32:08 +01:00
parent 543c89c24b
commit faaba1cbdc

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