summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-09-05 09:22:00 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-31 11:53:30 +0000
commit27138a68125eaf24b4092b8fb59f5b5e4c9a59c1 (patch)
tree070f860e969a8747cb727b1bf6325bf896f0884c
parentExposing exposes the SOURCE_DATE_EPOCH variable when running scripts inside t... (diff)
downloadsystem-build-27138a68125eaf24b4092b8fb59f5b5e4c9a59c1.tar.xz
system-build-27138a68125eaf24b4092b8fb59f5b5e4c9a59c1.zip
Removing automatic mode setting.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xfunctions/defaults.sh24
1 files changed, 2 insertions, 22 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index ca1782759..24ae4c0e2 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -92,28 +92,8 @@ Set_defaults ()
# Setting system type
LB_SYSTEM="${LB_SYSTEM:-live}"
- # Setting mode (currently: debian, progress-linux)
- if [ -x /usr/bin/lsb_release ]
- then
- _DISTRIBUTOR="$(lsb_release -is | tr "[A-Z]" "[a-z]")"
-
- case "${_DISTRIBUTOR}" in
- debian|progress-linux)
- LB_MODE="${LB_MODE:-${_DISTRIBUTOR}}"
- ;;
-
- *)
- LB_MODE="${LB_MODE:-debian}"
- ;;
- esac
- else
- if [ -e /etc/progress-linux_version ]
- then
- LB_MODE="${LB_MODE:-progress-linux}"
- else
- LB_MODE="${LB_MODE:-debian}"
- fi
- fi
+ # Setting mode
+ LB_MODE="${LB_MODE:-debian}"
# Setting distribution name
case "${LB_MODE}" in