summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorSimon Boulay <simon.boulay@gmail.com>2010-02-08 19:44:53 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-09 20:28:05 +0100
commit82e9837b9661ead8f78023ef645c7b6679786739 (patch)
tree56e34875aab4ee172ec18c55b56e17402f9309b6 /install
parent7d99fdb862b10e9019e5be78ad7afb6c1ae7f8c0 (diff)
downloadmkinitcpio-82e9837b9661ead8f78023ef645c7b6679786739.tar.gz
mkinitcpio-82e9837b9661ead8f78023ef645c7b6679786739.tar.xz
Add support for mounting root filesystem over NFS.
Diffstat (limited to 'install')
-rw-r--r--install/net11
1 files changed, 7 insertions, 4 deletions
diff --git a/install/net b/install/net
index 69359e9..7b31c09 100644
--- a/install/net
+++ b/install/net
@@ -6,7 +6,10 @@ install ()
BINARIES=""
FILES=""
- SCRIPT=""
+ SCRIPT="net"
+
+ add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"
+ add_binary "/lib/initcpio/nfsmount" "/bin/nfsmount"
}
help ()
@@ -97,10 +100,10 @@ cat<<HELPEOF
acdirmin = 30
acdirmax = 60
flags = hard, nointr, noposix, cto, ac
-
+
root=/dev/nfs
-
- If you don't use nfsroot= parameter you need to set root=/dev/nfs
+
+ If you don't use nfsroot= parameter you need to set root=/dev/nfs
to boot from a nfs root by autoconfiguration.
HELPEOF
}