From b17f2fdbbf1df6393aee46e1f375b32de5e55a9a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 25 Jul 2007 15:37:10 +0000 Subject: initramfs-module-*: Create install dirs before putting stuff there. --- packages/initrdscripts/initramfs-module-block_0.1.bb | 3 ++- packages/initrdscripts/initramfs-module-loop_0.1.bb | 3 ++- packages/initrdscripts/initramfs-module-nfs_0.1.bb | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/initrdscripts/initramfs-module-block_0.1.bb b/packages/initrdscripts/initramfs-module-block_0.1.bb index afd9fd592a..a0cb2fd7fa 100644 --- a/packages/initrdscripts/initramfs-module-block_0.1.bb +++ b/packages/initrdscripts/initramfs-module-block_0.1.bb @@ -1,9 +1,10 @@ SRC_URI = "file://blockboot.sh" -PR = "r1" +PR = "r2" RDEPENDS = "initramfs-uniboot" DESCRIPTION = "An initramfs module for booting off normal block devices." do_install() { + install -d ${D}/initrd.d install -m 0755 ${WORKDIR}/blockboot.sh ${D}/initrd.d/block } diff --git a/packages/initrdscripts/initramfs-module-loop_0.1.bb b/packages/initrdscripts/initramfs-module-loop_0.1.bb index 9a07f5f22c..d4e5aa038f 100644 --- a/packages/initrdscripts/initramfs-module-loop_0.1.bb +++ b/packages/initrdscripts/initramfs-module-loop_0.1.bb @@ -1,11 +1,12 @@ SRC_URI = "file://loopboot.sh" -PR = "r2" +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 } diff --git a/packages/initrdscripts/initramfs-module-nfs_0.1.bb b/packages/initrdscripts/initramfs-module-nfs_0.1.bb index 3382e2983b..24284d6c5f 100644 --- a/packages/initrdscripts/initramfs-module-nfs_0.1.bb +++ b/packages/initrdscripts/initramfs-module-nfs_0.1.bb @@ -1,10 +1,11 @@ SRC_URI = "file://nfsboot.sh" -PR = "r3" +PR = "r4" DESCRIPTION = "An initramfs module for booting via NFS." RDEPENDS = "initramfs-uniboot" RRECOMMENDS = "kernel-module-g-ether kernel-module-nfs" do_install() { + install -d ${D}/initrd.d install -m 0755 ${WORKDIR}/nfsboot.sh ${D}/initrd.d/nfs } -- cgit v1.2.3