summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_grub
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-30 14:17:16 -0400
committerDaniel Baumann <daniel@debian.org>2007-10-31 11:06:58 +0100
commitbb08fc8d1e287b7d38e864d3b57fac4406f5adcc (patch)
tree96072f2e8ed0dbae13979afda974c18d825c63e4 /helpers/lh_binary_grub
parentbeebfa63ae2e82fd30f56efb67848dd32494f668 (diff)
downloadvyos-live-build-bb08fc8d1e287b7d38e864d3b57fac4406f5adcc.tar.gz
vyos-live-build-bb08fc8d1e287b7d38e864d3b57fac4406f5adcc.zip
add new option to mount cow device on nfs volume
At the moment this only works with the root volume on nfs as well. If we add a switch to configure the network early in the boot process then this option could be made available for other root mediums. This option works reliably on the latest kernel 2.6.23.1 On earlier kernels I experienced frequent oopses.
Diffstat (limited to 'helpers/lh_binary_grub')
-rwxr-xr-xhelpers/lh_binary_grub6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub
index 1c05962e4..5269d0a2e 100755
--- a/helpers/lh_binary_grub
+++ b/helpers/lh_binary_grub
@@ -178,6 +178,12 @@ then
LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} union=${LH_UNION_FILESYSTEM}"
fi
+if [ -n "${LH_NET_COW_PATH}" ]
+then
+ Echo_error "Net cow not yet supported on grub"
+ exit 1
+fi
+
if [ "${LH_EXPOSED_ROOT}" != "disabled" ]
then
LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} exposedroot"