SHELL := sh -e
-LANGUAGES = en $(shell cd manpages/po && ls)
+LANGUAGES = $(shell cd manpages/po && ls)
SCRIPTS = bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
echo "W: checkbashisms - command not found"; \
echo "I: checkbashisms can be optained from: "; \
echo "I: http://git.debian.org/?p=devscripts/devscripts.git"; \
- echo "I: On Debian systems, checkbashisms can be installed with:"; \
+ echo "I: On Debian based systems, checkbashisms can be installed with:"; \
echo "I: apt-get install devscripts"; \
fi
uninstall:
# Uninstalling executables
rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin || true
rm -rf $(DESTDIR)/usr/share/live-boot
rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live*
rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top/live
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/hooks
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/scripts
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/hooks || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/scripts || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr || true
# Uninstalling docs
rm -rf $(DESTDIR)/usr/share/doc/live-boot
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr || true
# Uninstalling manpages
for MANPAGE in manpages/en/*; \
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# On Debian systems, the complete text of the GNU General Public License
+# The complete text of the GNU General Public License
# can be found in /usr/share/common-licenses/GPL-3 file.
# declare here two vars from /etc/live.conf because of "set -u"
echo "along with this program; if not, write to the Free Software"
echo "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA"
echo
- echo "On Debian systems, the complete text of the GNU General Public License"
+ echo "The complete text of the GNU General Public License"
echo "can be found in /usr/share/common-licenses/GPL-3 file."
echo
- echo "Homepage: <http://debian-live.alioth.debian.org/>"
+ echo "Homepage: <http://live.debian.net/>"
exit 0
}
+live-boot (3.0~a19-1) unstable; urgency=low
+
+ * Correct rmdir call in top-level Makefiles uninstall target to not
+ fail if there was no prior live-boot installation.
+ * Making references to debian more distribution neutral.
+ * Replacing reference to old alioth page in live-snapshot.
+ * Splitting out documentation so that it can be accesses separately
+ from the initramfs code.
+ * Adding conflicts/replaces for live-boot to live-boot-doc to not
+ break upgrades.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 13 Jul 2011 10:28:33 +0200
+
+live-boot (3.0~a18-1) unstable; urgency=low
+
+ * Updating and correcting sendsigs.omit support for /run (Closes:
+ #628188).
+ * Removing accidentally twice included English files when installing
+ manpages.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 11 Jun 2011 11:24:15 +0200
+
live-boot (3.0~a17-1+grml.01) unstable; urgency=low
* [6666658] Do not fail in multiarch environment when
Package: live-boot-grml
Architecture: all
-Depends: ${misc:Depends}, live-boot-grml-initramfs-tools (=${binary:Version})
+Depends: ${misc:Depends}, live-boot-grml-initramfs-tools
+Recommends: live-boot-grml-doc, eject, file, rsync, uuid-runtime
Conflicts: live-boot
Replaces: live-boot
Provides: live-boot
-Recommends: eject, file, rsync, uuid-runtime
Suggests: curlftpfs, cryptsetup, httpfs2, unionfs-fuse, wget
Description: Debian Live - System Boot Scripts
live-boot contains the scripts that configure a Debian Live system during the
This is NOT a fork of Debian's live-boot, it's just a customized
version to better fit Grml's needs.
+Package: live-boot-grml-doc
+Architecture: all
+Depends: ${misc:Depends}
+Conflicts: live-boot (<< 3.0~a18~), live-boot-doc
+Replaces: live-boot, live-boot-doc
+Provides: live-boot-doc
+Description: Debian Live - System Boot Scripts (documentation)
+ live-boot contains the scripts that configure a Debian Live system during the
+ boot process (early userspace).
+ .
+ This package contains the documentation.
+ .
+ Please notice that this package is maintained by the grml.org team.
+ This is NOT a fork of Debian's live-boot, it's just a customized
+ version to better fit Grml's needs.
+
Package: live-boot-grml-initramfs-tools
Architecture: all
Depends:
--- /dev/null
+usr/share/doc
+usr/share/man
}
case "${1}" in
- restart|reload|force-reload|status)
+ start|restart|reload|force-reload|status)
[ "${VERBOSE}" != no ] && log_end_msg 0
;;
- start)
- log_begin_msg "${NAME} is configuring sendsigs..."
- if [ -f /live/root.pid ] ; then
- cat /live/root.pid >> /var/run/sendsigs.omit
- fi
- log_end_msg 0
- ;;
stop)
log_begin_msg "${NAME} is resyncing snapshots and caching reboot files..."
--- /dev/null
+sbin
+usr/share/live-boot
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:07:22.000000000 +0200
++++ b/scripts/live 2011-07-24 22:07:54.000000000 +0200
@@ -1590,7 +1590,7 @@
loopdevname=$(setup_loop "/isofrom/${ISO_NAME}" "loop" "/sys/block/loop*" "" '')
devname="${loopdevname}"
@DPATCH@
---- a/hooks/live
-+++ b/hooks/live
+Index: b/hooks/live
+===================================================================
+--- a/hooks/live 2011-07-24 22:07:22.000000000 +0200
++++ b/hooks/live 2011-07-24 22:07:55.000000000 +0200
@@ -40,6 +40,12 @@
done
fi
@DPATCH@
---- a/scripts/live-functions
-+++ b/scripts/live-functions
+Index: b/scripts/live-functions
+===================================================================
+--- a/scripts/live-functions 2011-07-24 22:07:22.000000000 +0200
++++ b/scripts/live-functions 2011-07-24 22:07:56.000000000 +0200
@@ -88,14 +88,20 @@
printf " ${DEB_1}\n"
printf " ${DEB_2} \033[1;37mBOOT FAILED!\033[0m\n"
# file is searched inside that ISO file then.
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:07:54.000000000 +0200
++++ b/scripts/live 2011-07-24 22:07:58.000000000 +0200
@@ -106,6 +106,11 @@
export FETCH
;;
## DP: Pseudo-brand as grml
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:07:58.000000000 +0200
++++ b/scripts/live 2011-07-24 22:07:59.000000000 +0200
@@ -16,9 +16,9 @@
root_snapshot_label="live-sn"
home_snapshot_label="home-sn"
## DP: add live-bottom/10validateroot
@DPATCH@
---- /dev/null
-+++ b/scripts/live-bottom/10validateroot
+Index: b/scripts/live-bottom/10validateroot
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ b/scripts/live-bottom/10validateroot 2011-07-24 22:08:00.000000000 +0200
@@ -0,0 +1,27 @@
+#!/bin/sh
+
hostname of the booted system according to the DNS information.
This patch takes care of the netboot case.
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:07:59.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:02.000000000 +0200
@@ -220,6 +220,11 @@
export NOACCESSIBILITY
;;
## DP: * no bootid.txt + ignore_bootid=... => boots
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:02.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:03.000000000 +0200
@@ -63,6 +63,11 @@
export ACCESS
;;
## DP: Always display failure and warning messages.
@DPATCH@
---- a/scripts/live-functions
-+++ b/scripts/live-functions
+Index: b/scripts/live-functions
+===================================================================
+--- a/scripts/live-functions 2011-07-24 22:07:56.000000000 +0200
++++ b/scripts/live-functions 2011-07-24 22:08:04.000000000 +0200
@@ -2,6 +2,17 @@
. /scripts/functions
. /live.vars
## DP: /lib/udev/vol_id in /scripts/live as well
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:03.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:06.000000000 +0200
@@ -1680,7 +1680,12 @@
if is_supported_fs ${fstype}
@DPATCH@
diff a/scripts/live-bottom/23networking_grml b/scripts/live-bottom/23networking_grml
---- /dev/null
-+++ b/scripts/live-bottom/23networking_grml
+Index: b/scripts/live-bottom/23networking_grml
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ b/scripts/live-bottom/23networking_grml 2011-07-24 22:08:07.000000000 +0200
@@ -0,0 +1,107 @@
+#!/bin/sh
+
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:06.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:09.000000000 +0200
@@ -93,6 +93,8 @@
nodhcp)
@DPATCH@
index d79beed..1b6926e 100755
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:09.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:10.000000000 +0200
@@ -563,7 +563,7 @@
if [ -z "${MODULETORAM}" ]
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:10.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:11.000000000 +0200
@@ -1669,6 +1669,29 @@
umount $mountpoint
fi
## DP: Support dns bootoption. Usage examples: dns=8.8.8.8 / dns=8.8.8.8,1.2.3.4
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:11.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:13.000000000 +0200
@@ -77,6 +77,18 @@
BOOTIF="${x#BOOTIF=}"
;;
debug)
DEBUG="Yes"
export DEBUG
---- a/scripts/live-bottom/23networking_grml
-+++ b/scripts/live-bottom/23networking_grml
+Index: b/scripts/live-bottom/23networking_grml
+===================================================================
+--- a/scripts/live-bottom/23networking_grml 2011-07-24 22:08:07.000000000 +0200
++++ b/scripts/live-bottom/23networking_grml 2011-07-24 22:08:13.000000000 +0200
@@ -44,7 +44,12 @@
# prepare a new /etc/network/interfaces file (and, possibly, a new /etc/resolv.conf)
@DPATCH@
---- a/scripts/live
-+++ b/scripts/live
+Index: b/scripts/live
+===================================================================
+--- a/scripts/live 2011-07-24 22:08:13.000000000 +0200
++++ b/scripts/live 2011-07-24 22:08:14.000000000 +0200
@@ -110,9 +110,8 @@
;;
So lets drop the localized manpages and just install the english ones.
---- a/Makefile
-+++ b/Makefile
+Index: b/Makefile
+===================================================================
+--- a/Makefile 2011-07-24 22:07:22.000000000 +0200
++++ b/Makefile 2011-07-24 22:08:15.000000000 +0200
@@ -66,15 +66,6 @@
install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \
done
Thanks to Ulrich Dangel for discovering this. [Closes: issue848]
---- a/hooks/live
-+++ b/hooks/live
+Index: b/hooks/live
+===================================================================
+--- a/hooks/live 2011-07-24 22:07:55.000000000 +0200
++++ b/hooks/live 2011-07-24 22:08:17.000000000 +0200
@@ -258,17 +258,14 @@
manual_add_modules crc32c
fi
/lib/libnss_dns.so.* but could also be e.g.
/lib/x86_64-linux-gnu/libnss_dns.so.*.
---- a/hooks/live
-+++ b/hooks/live
+Index: b/hooks/live
+===================================================================
+--- a/hooks/live 2011-07-24 22:08:17.000000000 +0200
++++ b/hooks/live 2011-07-24 22:08:18.000000000 +0200
@@ -260,7 +260,16 @@
# DNS for initramfs
Index: b/Makefile
===================================================================
---- a/Makefile 2011-07-24 22:58:34.000000000 +0200
-+++ b/Makefile 2011-07-24 22:59:00.000000000 +0200
+--- a/Makefile 2011-07-24 23:49:55.000000000 +0200
++++ b/Makefile 2011-07-24 23:50:20.000000000 +0200
@@ -52,11 +52,11 @@
cp -r hooks scripts $(DESTDIR)/usr/share/initramfs-tools
# Installing manpages
@@ -85,7 +85,7 @@
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr || true
# Uninstalling docs
- rm -rf $(DESTDIR)/usr/share/doc/live-boot
+ rm -rf $(DESTDIR)/usr/share/doc/live-boot-grml
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/doc || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr || true
dh ${@} --with quilt
override_dh_auto_install:
- dh_auto_install -- DESTDIR=debian/live-boot-grml
+ dh_auto_install -- DESTDIR=debian/tmp
# Removing useless files
- rm -f debian/live-boot-grml/usr/share/doc/live-boot-grml/COPYING
+ rm -f debian/tmp/usr/share/doc/live-boot-grml/COPYING
+ # Some more useless files
+ rm -f debian/tmp/usr/share/initramfs-tools/scripts/live-bottom/12fstab
+ rm -f debian/tmp/usr/share/initramfs-tools/scripts/live-bottom/23networking
+ rm -f debian/tmp/usr/share/initramfs-tools/scripts/live-bottom/24preseed
+ rm -f debian/tmp/usr/share/initramfs-tools/scripts/live-bottom/30accessibility
# live-boot-initramfs-tools
mkdir -p debian/live-boot-grml-initramfs-tools/usr/share
- mv debian/live-boot-grml/usr/share/initramfs-tools debian/live-boot-grml-initramfs-tools/usr/share
- # Some more useless files
- rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/12fstab
- rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/23networking
- rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/24preseed
- rm -f debian/live-boot-grml-initramfs-tools/usr/share/initramfs-tools/scripts/live-bottom/30accessibility
+ mv debian/tmp/usr/share/initramfs-tools debian/live-boot-grml-initramfs-tools/usr/share
override_dh_installinit:
dh_installinit -p live-boot-grml --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'
+
+override_dh_install:
+ dh_install --fail-missing
echo "E: po4a - command not found"; \
echo "I: po4a can be optained from:"; \
echo "I: http://po4a.alioth.debian.org/"; \
- echo "I: On Debian systems, po4a can be installed with:"; \
+ echo "I: On Debian based systems, po4a can be installed with:"; \
echo "I: apt-get install po4a"; \
exit 1; \
fi
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 7 2011\-05\-18 3.0~a17 "Debian Live Projekt"
+.TH LIVE\-BOOT 7 13.07.2011 3.0~a19 "Debian Live Projekt"
.SH NAME
\fBlive\-boot\fP \- System Boot Skripte
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 1 2011\-05\-18 3.0~a17 "Debian Live Projekt"
+.TH LIVE\-BOOT 1 13.07.2011 3.0~a19 "Debian Live Projekt"
.SH NAME
\fBlive\-snapshot\fP \- simple script to ease persistence usage
-.TH LIVE\-BOOT 7 2011\-05\-18 3.0~a17 "Debian Live Project"
+.TH LIVE\-BOOT 7 2011\-07\-13 3.0~a19 "Debian Live Project"
.SH NAME
\fBlive\-boot\fR \- System Boot Scripts
-.TH LIVE\-BOOT 1 2011\-05\-18 3.0~a17 "Debian Live Project"
+.TH LIVE\-BOOT 1 2011\-07\-13 3.0~a19 "Debian Live Project"
.SH NAME
\fBlive\-snapshot\fR \- simple script to ease persistence usage
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~a17\n"
-"POT-Creation-Date: 2011-05-18 19:30+0300\n"
+"Project-Id-Version: live-boot 3.0~a19\n"
+"POT-Creation-Date: 2011-07-13 10:28+0300\n"
"PO-Revision-Date: 2010-05-24 12:34+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2011-05-18"
-msgstr ""
+msgid "2011-07-13"
+msgstr "13.07.2011"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "3.0~a17"
-msgstr "3.0~a17"
+msgid "3.0~a19"
+msgstr "3.0~a19"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~a17\n"
-"POT-Creation-Date: 2011-05-18 19:30+0300\n"
+"Project-Id-Version: live-boot 3.0~a19\n"
+"POT-Creation-Date: 2011-07-13 10:28+0300\n"
"PO-Revision-Date: 2010-05-24 12:34+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2011-05-18"
-msgstr ""
+msgid "2011-07-13"
+msgstr "13.07.2011"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "3.0~a17"
-msgstr "3.0~a17"
+msgid "3.0~a19"
+msgstr "3.0~a19"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2011-05-18 19:30+0300\n"
+"POT-Creation-Date: 2011-07-13 10:28+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2011-05-18"
+msgid "2011-07-13"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "3.0~a17"
+msgid "3.0~a19"
msgstr ""
#. type: TH
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2011-05-18 19:30+0300\n"
+"POT-Creation-Date: 2011-07-13 10:28+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "2011-05-18"
+msgid "2011-07-13"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-snapshot.1:1
#, no-wrap
-msgid "3.0~a17"
+msgid "3.0~a19"
msgstr ""
#. type: TH
unionmountopts="${unionmountopts} ${unionrw}=RW:${unionro}=RO"
( sysctl -w fs.file-max=391524 ; ulimit -HSn 16384
unionfs-fuse ${unionmountopts} "${unionmountpoint}" ) && \
- ( mkdir -p /run/initramfs
- pidof unionfs-fuse >> /run/initramfs/sendsigs.omit || true )
+ ( mkdir -p /run/sendsigs.omit.d
+ pidof unionfs-fuse >> /run/sendsigs.omit.d/unionfs-fuse || true )
;;
unionmount)