diff options
author | Daniel Baumann <daniel@debian.org> | 2007-11-11 14:14:25 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-11-11 14:14:25 +0100 |
commit | 0408e7ebbaa81db5c60592906c2a35696e3d96ab (patch) | |
tree | ae7e2855f5be0e02183b020607cc41c91977f634 /functions/defaults.sh | |
parent | 8635931e79730eb75ca8f9b3c581845c2613ebf2 (diff) | |
download | vyos-live-build-0408e7ebbaa81db5c60592906c2a35696e3d96ab.tar.gz vyos-live-build-0408e7ebbaa81db5c60592906c2a35696e3d96ab.zip |
Added warning about etch compatibility of lh_config options.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 69181b64a..a96ed1df3 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -594,3 +594,23 @@ Set_defaults () # Setting fakeroot/fakechroot LH_USE_FAKEROOT="${LH_USE_FAKEROOT:-disabled}" } + +Check_defaults () +{ + if [ "${LH_DISTRIBUTION}" = "etch" ] + then + if [ "${LH_INITRAMFS}" = "live-initramfs" ] + then + Echo_warning "You selected LH_DISTRIBUTION='etch' and LH_INITRAMFS='live-initramfs'" + Echo_warning "This is a possible unsave configuration as live-initramfs is not" + Echo_warning "part of the etch distribution." + fi + + if [ "${LH_UNION_FILESYSTEM}" = "aufs" ] + then + Echo_warning "You selected LH_DISTRIBUTION='etch' and LH_UNION_FILESYSTEM='aufs'" + Echo_warning "This is a possible unsave configuration as aufs is not" + Echo_warning "part of the etch distribution." + fi + fi +} |