summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/devimage_0.1.bb
blob: 96b8afb4cf366805ab8155e62180c4a51c68f4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"
FILE_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/*"