summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-07-25 15:37:10 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-07-25 15:37:10 +0000
commitb17f2fdbbf1df6393aee46e1f375b32de5e55a9a (patch)
tree39f3aa9fd88953dcef0dbab2ccb9f5181866fe46
parent0990e13e269d897ce9939e9bf1280c50d3f333e8 (diff)
initramfs-module-*: Create install dirs before putting stuff there.
-rw-r--r--packages/initrdscripts/initramfs-module-block_0.1.bb3
-rw-r--r--packages/initrdscripts/initramfs-module-loop_0.1.bb3
-rw-r--r--packages/initrdscripts/initramfs-module-nfs_0.1.bb3
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
}