summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-loop_0.1.bb
blob: afc77a46f0e72d00f55de9d9dc302324637c059a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SRC_URI = "file://loopboot.sh"
PR = "r4"
DESCRIPTION = "An initramfs module for booting a filesystem image by loopback \
               mounting it."
RDEPENDS = "initramfs-uniboot"
RRECOMMENDS = "kernel-module-loop kernel-module-vfat"

do_install() {
	install -d ${D}/initrd.d
        install -m 0755 ${WORKDIR}/80-loopboot.sh ${D}/initrd.d/
}

FILES_${PN} += " /initrd.d/loop "