diff options
author | Simon Busch <morphis@gravedo.de> | 2010-09-30 14:34:20 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2010-10-20 10:10:26 +0200 |
commit | 67745fb3048a8b506e9d702b717eef12a8dae7cb (patch) | |
tree | 429989a02409d4178f95bb9c57862e2523b94c8a /recipes/shr/initscripts-shr_0.0.1.bb | |
parent | b91e2b3af60937c6d01e44398681ee3253f770d4 (diff) | |
download | openembedded-67745fb3048a8b506e9d702b717eef12a8dae7cb.tar.gz |
initscripts-shr: add mountdevtmpfs init script for palmpre machine
On the palmpre machine we are currently come into the SHR rootfs through mounting it from
/boot and switch the rootfs via pivot_root. So we can't automatically mount devtmpfs on
/dev. Instead we do this right after SHR begins to boot and before any other filesystem is
mounted on the new rootfs.
Signed-off-by: Simon Busch <morphis@gravedo.de>
Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes/shr/initscripts-shr_0.0.1.bb')
-rw-r--r-- | recipes/shr/initscripts-shr_0.0.1.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes/shr/initscripts-shr_0.0.1.bb b/recipes/shr/initscripts-shr_0.0.1.bb index e4dc736071..ce76fbdb41 100644 --- a/recipes/shr/initscripts-shr_0.0.1.bb +++ b/recipes/shr/initscripts-shr_0.0.1.bb @@ -5,7 +5,7 @@ DEPENDS = "" RDEPENDS_${PN} = "procps" LICENSE = "GPL" PV = "0.0.1" -PR = "r20" +PR = "r21" RCONFLICTS_${PN} = "initscripts" @@ -32,6 +32,8 @@ SRC_URI = "file://alignment.sh \ file://umountnfs.sh \ " +SRC_URI_append_palmpre = " file://mountdevtmpfs.sh" + inherit base do_install () { @@ -74,6 +76,11 @@ do_install () { install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/umountnfs.sh ${D}${sysconfdir}/init.d + if [ "${MACHINE}" == "palmpre" ]; then + install -m 0755 ${WORKDIR}/mountdevtmpfs.sh ${D}${sysconfdir}/init.d + ln -sf ../init.d/mountdevtmpfs.sh ${D}${sysconfdir}/rcS.d/S03mountdevtmpfs.sh + fi + # # Create runlevel links # |