From faaba1cbdcf514193aca740990f86f567c958535 Mon Sep 17 00:00:00 2001 From: Gregor Fuis Date: Wed, 29 Feb 2012 20:32:08 +0100 Subject: [PATCH] scripts/image: install project specific files from filesystem folder to image after all packages instalation --- scripts/image | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/image b/scripts/image index 944b5def01..df77498344 100755 --- a/scripts/image +++ b/scripts/image @@ -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