diff options
Diffstat (limited to 'recipes/initrdscripts/devimage_0.1.bb')
-rw-r--r-- | recipes/initrdscripts/devimage_0.1.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/initrdscripts/devimage_0.1.bb b/recipes/initrdscripts/devimage_0.1.bb new file mode 100644 index 0000000000..0622dd0330 --- /dev/null +++ b/recipes/initrdscripts/devimage_0.1.bb @@ -0,0 +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 = "r4" + +do_install() { + 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/* /sbin/*" |