summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/devimage_0.1.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-17 03:02:36 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-17 03:02:36 +0000
commit2959e0e2f5006bc4c0a3837e8915069fda2a0b57 (patch)
tree1bdbb89224aa2b9bb10c5cdd8e8962fcd96aabaa /packages/initrdscripts/devimage_0.1.bb
parentd9971a1a3d12421aea6e77f90e80589786a3a40a (diff)
parent71a0ef43a6bf3c9eabc5ca4b9bd62229e574015d (diff)
merge of 'a534fd1530fba63215db0ae44dbdd6e877c589b4'
and 'f6ab5be390e4400fb993f0e449049b62daece68e'
Diffstat (limited to 'packages/initrdscripts/devimage_0.1.bb')
-rw-r--r--packages/initrdscripts/devimage_0.1.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/initrdscripts/devimage_0.1.bb b/packages/initrdscripts/devimage_0.1.bb
index c671f38025..0622dd0330 100644
--- a/packages/initrdscripts/devimage_0.1.bb
+++ b/packages/initrdscripts/devimage_0.1.bb
@@ -1,12 +1,14 @@
DESCRIPTION = "Set of files to initialize bare system suitable for kernel, etc. testing."
SRC_URI = "file://devimage.sh file://passwd file://dropbear_rsa_host_key"
-PR = "r3"
+PR = "r4"
do_install() {
- install -m 0755 ${WORKDIR}/devimage.sh ${D}/init
install -d ${D}/etc/dropbear
+ install -d ${D}/sbin
+ install -m 0755 ${WORKDIR}/devimage.sh ${D}/init
install -m 0600 ${WORKDIR}/dropbear_rsa_host_key ${D}/etc/dropbear/
install -m 0644 ${WORKDIR}/passwd ${D}/etc/
+ ln -s /init ${D}/sbin/init
}
-FILES_${PN} += " /init /etc/*"
+FILES_${PN} += " /init /etc/* /sbin/*"