summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-24 22:01:43 +0200
committerDaniel Baumann <daniel@debian.org>2010-09-24 22:01:43 +0200
commit981e9c160eb32c020badf6366c23e9232ee6f624 (patch)
tree404156629268e62461d3dfb130cb21429384648d /functions
parentc87c82326de1eec256cf522e454ed9daca788435 (diff)
downloadvyos-live-build-981e9c160eb32c020badf6366c23e9232ee6f624.tar.gz
vyos-live-build-981e9c160eb32c020badf6366c23e9232ee6f624.zip
Adding initramfs related defaults for wheezy.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 01e7abace..57cf37c20 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -142,7 +142,15 @@ Set_defaults ()
;;
*)
- LB_INITRAMFS="live-initramfs"
+ case "${LB_DISTRIBUTION}" in
+ wheezy)
+ LB_INITRAMFS="live-boot"
+ ;;
+
+ *)
+ LB_INITRAMFS="live-initramfs"
+ ;;
+ esac
;;
esac
fi