aboutsummaryrefslogtreecommitdiffstats
path: root/packages/initrdscripts/devimage_0.1.bb
blob: 8eb6fa2d830c7618636cd9a2a2a27120361638e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
SRC_URI = "file://devimage.sh file://passwd file://dropbear_rsa_host_key"
PR = "r1"

do_install() {
        install -m 0755 ${WORKDIR}/devimage.sh ${D}/init
	install -d ${D}/etc/dropbear
        install -m 0600 ${WORKDIR}/dropbear_rsa_host_key ${D}/etc/dropbear/
        install -m 0644 ${WORKDIR}/passwd ${D}/etc/
}

FILES_${PN} += " /init /etc/*"