summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
authorSimon Rettberg2014-07-10 15:40:33 +0200
committerroot2014-07-10 15:40:33 +0200
commit71d1d465caeb71c7639a939e2c39791fac50894f (patch)
tree731563dbf258900ae16e7259b0257a52dd907d90 /remote/setup_target
parentAdd option REQUIRED_ORIGINAL_USR_SPLIT to disable symlinking /bin to /usr/bin... (diff)
downloadtm-scripts-71d1d465caeb71c7639a939e2c39791fac50894f.tar.gz
tm-scripts-71d1d465caeb71c7639a939e2c39791fac50894f.tar.xz
tm-scripts-71d1d465caeb71c7639a939e2c39791fac50894f.zip
Fix split user patch
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target5
1 files changed, 3 insertions, 2 deletions
diff --git a/remote/setup_target b/remote/setup_target
index bc269ca9..0d28db29 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -369,6 +369,9 @@ process_module() {
fi
fi
# Process module
+ pdebug "## Reading config of $MODULE"
+ read_config
+ # Prepare build directory
mkdir -p "${MODULE_BUILD_DIR}" || perror "Could not create build dir"
if [ -z "${REQUIRED_ORIGINAL_USR_SPLIT}" -o "x${REQUIRED_ORIGINAL_USR_SPLIT}" = "xno" ]; then
local DIR
@@ -377,8 +380,6 @@ process_module() {
[ -L "${MODULE_BUILD_DIR}/${DIR}" ] || ln -s "usr/${DIR}" "${MODULE_BUILD_DIR}/${DIR}" || perror "Could not symlink '${MODULE_BUILD_DIR}/${DIR}' to 'usr/${DIR}"
done
fi
- pdebug "## Reading config of $MODULE"
- read_config
# Check if this module has a dependency that wasn't built yet:
if [ ! -z "$REQUIRED_MODULES" ]; then
pdebug "$MODULE depends on ${REQUIRED_MODULES}...."