summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-check-modules_1.0.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-06 13:23:58 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-06 13:23:58 +0000
commiteb62ab748a332a39c68f0928d8e798e0fbd19b46 (patch)
treeb9debf6dd8977f2b2699ec747f3899d22cfe8073 /packages/initrdscripts/initramfs-module-check-modules_1.0.bb
parenteb3c1f6abe11f88d3666023814a75574fecd083b (diff)
initramfs-module-check-modules: An initramfs module to check modules consistency.
* Checks that version of the boot kernel matches that of modules installed in rootfs. * A step towards providing manageable upgrade path for kernels outside rootfs.
Diffstat (limited to 'packages/initrdscripts/initramfs-module-check-modules_1.0.bb')
-rw-r--r--packages/initrdscripts/initramfs-module-check-modules_1.0.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/initrdscripts/initramfs-module-check-modules_1.0.bb b/packages/initrdscripts/initramfs-module-check-modules_1.0.bb
new file mode 100644
index 0000000000..6986316a6f
--- /dev/null
+++ b/packages/initrdscripts/initramfs-module-check-modules_1.0.bb
@@ -0,0 +1,12 @@
+SRC_URI = "file://90-check-modules.sh"
+PR = "r0"
+DESCRIPTION = "An initramfs module for checking that kernel modules exist in rootfs"
+RDEPENDS = "initramfs-uniboot"
+
+do_install() {
+ install -d ${D}/initrd.d
+ install -m 0755 ${WORKDIR}/90-check-modules.sh ${D}/initrd.d/
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += " /initrd.d/* "