summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-loop_0.1.bb
blob: d4e5aa038f6293d711a23931ee823f520c857b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SRC_URI = "file://loopboot.sh"
PR = "r3"
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}/loopboot.sh ${D}/initrd.d/loop
}

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