summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-xmeta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
index 904037eeaa..ce4622a5e5 100755
--- a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
@@ -163,6 +163,16 @@ apply_cfgfile() {
163 continue 163 continue
164 } 164 }
165 165
166 [ "${TTYPE}" = "b" ] && {
167 TSOURCE="$TLTARGET"
168 [ "${VERBOSE}" != "no" ] && echo "Creating mount-bind -${TNAME}- from -${TSOURCE}-."
169 mount --bind "${TSOURCE}" "${TNAME}"
170 EXEC="
171 mount --bind \"${TSOURCE}\" \"${TNAME}\""
172 test "$VOLATILE_ENABLE_CACHE" = yes && echo "$EXEC" >> /etc/volatile.cache.build
173 continue
174 }
175
166 [ -L "${TNAME}" ] && { 176 [ -L "${TNAME}" ] && {
167 [ "${VERBOSE}" != "no" ] && echo "Found link." 177 [ "${VERBOSE}" != "no" ] && echo "Found link."
168 NEWNAME=`ls -l "${TNAME}" | sed -e 's/^.*-> \(.*\)$/\1/'` 178 NEWNAME=`ls -l "${TNAME}" | sed -e 's/^.*-> \(.*\)$/\1/'`