summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-17 02:49:20 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-17 02:49:20 +0000
commitc7c0ee0bb756ca79840a318378562d65a236bd4c (patch)
treed8bdd418a3552e079212cf57f4aca0c5155c2f9e /packages
parentca5d8d87832c5982f4593aaa3466a405ea923406 (diff)
devimage 0.1: Link init script to /sbin/init, so this can be booted as normal rootfs.
* In addition to default initramfs booting.
Diffstat (limited to 'packages')
-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/*"