summaryrefslogtreecommitdiff
path: root/recipes/initrdscripts/initramfs-module-loop_1.0.bb
blob: 5d10bd3f79d14a5d709daf6614ace367b18af0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SRC_URI = "file://80-loopboot.sh"
PR = "r2"
DESCRIPTION = "An initramfs module for booting a filesystem image by loopback \
               mounting it."
RDEPENDS_${PN} = "initramfs-uniboot initramfs-module-initfs"
RRECOMMENDS_${PN} = "kernel-module-loop kernel-module-vfat"

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

PACKAGE_ARCH = "all"
FILES_${PN} += " /initrd.d/* "