summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:46 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:27 +0100
commit49524055a1fd813b8032af88ddda838a856128dd (patch)
tree5ab003498be8ad81fc1b7e4ba116be9c9ca5298b
parentfe6eb1c593e2df135c8807bf94df614984b4d6ec (diff)
downloadlive-build-49524055a1fd813b8032af88ddda838a856128dd.zip
live-build-49524055a1fd813b8032af88ddda838a856128dd.tar.gz
Adding live-helper 1.0~a1-2.
-rw-r--r--debian/changelog8
-rw-r--r--doc/ChangeLog11
-rwxr-xr-xfunctions/defaults.sh11
-rwxr-xr-xhelpers/lh_chroot_sysvinit2
4 files changed, 25 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index 053e68a..c48d85e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+live-helper (1.0~a1-2) unstable; urgency=low
+
+ * functions/defaults.sh: Fixed setting of LIVE_SYSVINIT.
+ * helpers/lh_chroot_sysvinit: Changed check for LIVE_SYSVINIT from disabled to
+ enabled.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 12 Mar 2007 18:00:00 +0100
+
live-helper (1.0~a1-1) unstable; urgency=low
* Initial release, replacing live-package.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index fff6279..ad0c984 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,4 +1,11 @@
+2007-03-14 Daniel Baumann <daniel@debian.org>
+
+ * functions/defaults.sh: Fixed setting of LIVE_SYSVINIT.
+ * helpers/lh_chroot_sysvinit: Changed check for LIVE_SYSVINIT from disabled to
+ enabled.
+ * Uploaded 1.0~a1-2.
+
2007-03-12 Daniel Baumann <daniel@debian.org>
- * Rewritten live-package.
- * Uploaded 1.0~a1-1.
+ * Rewritten live-package.
+ * Uploaded 1.0~a1-1.
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 462c1eb..9463ad6 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -287,11 +287,14 @@ Set_defaults ()
fi
# Setting sysvinit option
- if [ -z "${LIVE_SYSVINIT}" ] && [ "${LIVE_FLAVOUR}" != "mini" ]
+ if [ -z "${LIVE_SYSVINIT}" ]
then
- LIVE_SYSVINIT="enabled"
- else
- LIVE_SYSVINIT="disabled"
+ if [ "${LIVE_FLAVOUR}" = "mini" ]
+ then
+ LIVE_SYSVINIT="enabled"
+ else
+ LIVE_SYSVINIT="disabled"
+ fi
fi
## config/image
diff --git a/helpers/lh_chroot_sysvinit b/helpers/lh_chroot_sysvinit
index e4746d6..933da57 100755
--- a/helpers/lh_chroot_sysvinit
+++ b/helpers/lh_chroot_sysvinit
@@ -27,7 +27,7 @@ Create_lockfile "${LIVE_ROOT}"/.lock
# Checking stage file
Check_stagefile "${LIVE_ROOT}"/.stage/chroot_sysvinit
-if [ "${LIVE_SYSVINIT}" = "disabled" ]
+if [ "${LIVE_SYSVINIT}" = "enabled" ]
then
# Disable all
for FILE in "${LIVE_CHROOT}"/etc/init.d/*