summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/devimage_0.1.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-19 16:17:33 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-19 16:17:33 +0000
commitf55e1cd950a96045de381abedde9e2727d001234 (patch)
tree31c642152a1e8456d85bfa1bea0bbdc0db39e674 /packages/initrdscripts/devimage_0.1.bb
parent18bae0d61ca9ad3cb8970bbeedef55ad328bb422 (diff)
parentd69d798924c7d9e543f7078e611ee8c410f2fad6 (diff)
merge of '4f1c373d43a7c1b912b21780d67df8ccec796116'
and 'd684223b6fbdf20a18d598446664827707b7dd91'
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/*"