summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-nfs_0.1.bb
diff options
context:
space:
mode:
authorAlex Osborne <ato@meshy.org>2007-07-19 20:55:15 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-07-19 20:55:15 +0000
commit2603e7f62a5a9e902a554855ed601d0619817b71 (patch)
tree3db9dd94483efff12cfd3f64cd9c571e8f260882 /packages/initrdscripts/initramfs-module-nfs_0.1.bb
parent86a52172905ecd9d850cf62f6042b820a3192230 (diff)
initramfs: New modular initramfs for booting kernel from various media.
* Design principles: * This initramfs just mounts roots and runs init on it, nothing else. * Whenever possible, existing kernel parameters are used. When extended boot methods are provided, new parameters mimick/adhere to existing conventions. * System is modular/pluggable - each mount method is in own module with more or less well defined interface, it's possible to construct complete system with any combination of modules. * Modules includes: initramfs-module-loop, initramfs-module-nfs, to boot from loop devices (including recursive loops) and NFS, correspondingly.
Diffstat (limited to 'packages/initrdscripts/initramfs-module-nfs_0.1.bb')
-rw-r--r--packages/initrdscripts/initramfs-module-nfs_0.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/initrdscripts/initramfs-module-nfs_0.1.bb b/packages/initrdscripts/initramfs-module-nfs_0.1.bb
new file mode 100644
index 0000000000..90b80a31b1
--- /dev/null
+++ b/packages/initrdscripts/initramfs-module-nfs_0.1.bb
@@ -0,0 +1,8 @@
+SRC_URI = "file://nfsboot.sh"
+PR = "r0"
+
+do_install() {
+ install -m 0755 ${WORKDIR}/nfsboot.sh ${D}/initrd.d/nfs
+}
+
+FILES_${PN} += " /initrd.d/nfs "