summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-loop_1.0.bb
blob: 1a2d0a9754003bd263ce020341199e06a461b3ed (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 = "initramfs-uniboot initramfs-module-initfs"
RRECOMMENDS = "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/* "