summaryrefslogtreecommitdiff
path: root/packages/initscripts
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-04-08 21:45:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-08 21:45:19 +0000
commit02fdb87022fe84bdf046f4d2b777e1da0fa4d989 (patch)
tree244a1bafa880207c7b7b1564f372a556329b56e5 /packages/initscripts
parent1e860dcbcb9607375af4b02cce9bfe3e00f406e0 (diff)
initscripts/populate-volatile.sh: Include change from .oz354x
Diffstat (limited to 'packages/initscripts')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/populate-volatile.sh6
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/initscripts/initscripts-1.0/populate-volatile.sh b/packages/initscripts/initscripts-1.0/populate-volatile.sh
index 99a469d576..bf498084e4 100755
--- a/packages/initscripts/initscripts-1.0/populate-volatile.sh
+++ b/packages/initscripts/initscripts-1.0/populate-volatile.sh
@@ -85,8 +85,10 @@ apply_cfgfile() {
echo "Cannot create link over existing -${TNAME}-." >&2
} || {
TSOURCE=`echo ${LINE} | cut -d " " -f 6`
- [ "${VERBOSE}" != "no" ] && echo "Creating link -${TNAME}- pointing to -${TSOURCE}-."
- ln -s "${TSOURCE}" "${TNAME}"
+ [ -L "${TNAME}" ] || {
+ [ "${VERBOSE}" != "no" ] && echo "Creating link -${TNAME}- pointing to -${TSOURCE}-."
+ ln -s "${TSOURCE}" "${TNAME}"
+ }
}
continue
}
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index ed4e205519..29886d0ac0 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -6,7 +6,7 @@ DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r70"
+PR = "r71"
SRC_URI = "file://halt \
file://ramdisk \