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>2011-03-09 19:17:24 +0100
commit8442fdc9eb5347dbeefdc77c7f00a54226847943 (patch)
tree404156629268e62461d3dfb130cb21429384648d /functions
parent76b7511c0a0118f7a28296eed78b1f502473f69e (diff)
downloadvyos-live-build-8442fdc9eb5347dbeefdc77c7f00a54226847943.tar.gz
vyos-live-build-8442fdc9eb5347dbeefdc77c7f00a54226847943.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