From: Evgeni Golov Date: Thu, 10 Apr 2014 06:08:08 +0000 (+0200) Subject: Merge remote-tracking branch 'live-systems/debian' into debian X-Git-Tag: v4.0.0-1+grml.1~1^2~1 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=3d474f82e4b76d73d86407c8945861fe3e3be8b5;hp=983d4783b0efa954c2322b8c70a4908e4da6bf99 Merge remote-tracking branch 'live-systems/debian' into debian --- diff --git a/VERSION b/VERSION index d5eae3d..62dab84 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0~alpha19-1 +4.0~alpha21-1 diff --git a/components/9990-initramfs-tools.sh b/components/9990-initramfs-tools.sh index 210579d..eb11d23 100755 --- a/components/9990-initramfs-tools.sh +++ b/components/9990-initramfs-tools.sh @@ -31,7 +31,7 @@ panic() do case "${_PARAMETER}" in panic=*) - panic="${_PARAMETER#*verify-checksums=}" + panic="${_PARAMETER#*panic=}" ;; esac done diff --git a/components/9990-main.sh b/components/9990-main.sh index 83f087f..85b8a1d 100755 --- a/components/9990-main.sh +++ b/components/9990-main.sh @@ -178,10 +178,16 @@ Live () fi fi - if [ -f /etc/resolv.conf ] && [ ! -s ${rootmnt}/etc/resolv.conf ] + if [ -L /root/etc/resolv.conf ] ; then + # assume we have resolvconf + DNSFILE="${rootmnt}/etc/resolvconf/resolv.conf.d/base" + else + DNSFILE="${rootmnt}/etc/resolv.conf" + fi + if [ -f /etc/resolv.conf ] && [ ! -s ${DNSFILE} ] then - log_begin_msg "Copying /etc/resolv.conf to ${rootmnt}/etc/resolv.conf" - cp -v /etc/resolv.conf ${rootmnt}/etc/resolv.conf + log_begin_msg "Copying /etc/resolv.conf to ${DNSFILE}" + cp -v /etc/resolv.conf ${DNSFILE} log_end_msg fi diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index c656f23..2bf2db1 100755 --- a/components/9990-misc-helpers.sh +++ b/components/9990-misc-helpers.sh @@ -1422,7 +1422,7 @@ get_custom_mounts () prev_dest="" # This sort will ensure that a source /a comes right before a source # /a/b so we only need to look at the previous source - sort -k2 -b ${custom_mounts} | + [ -e ${custom_mounts} ] && sort -k2 -b ${custom_mounts} | while read device source dest options do if echo ${source} | grep -qe "^${prev_source}\(/.*\)\?$" diff --git a/components/9990-netbase.sh b/components/9990-netbase.sh index 496c3ff..a32a47b 100755 --- a/components/9990-netbase.sh +++ b/components/9990-netbase.sh @@ -16,7 +16,12 @@ Netbase () log_begin_msg "Preconfiguring networking" IFFILE="/root/etc/network/interfaces" - DNSFILE="/root/etc/resolv.conf" + if [ -L /root/etc/resolv.conf ] ; then + # assume we have resolvconf + DNSFILE="/root/etc/resolvconf/resolv.conf.d/base" + else + DNSFILE="/root/etc/resolv.conf" + fi if [ "${STATICIP}" = "frommedia" ] && [ -e "${IFFILE}" ] then @@ -102,7 +107,7 @@ EOF done fi - if [ ! -f /root/etc/resolv.conf ] || [ -z "$(cat /root/etc/resolv.conf)" ] + if [ ! -f "${DNSFILE}" ] || [ -z "$(cat ${DNSFILE})" ] then if [ -f /netboot.config ] then @@ -112,7 +117,7 @@ EOF rc_search=$(cat netboot.config | awk '/domain/ { print $3 }') rc_server0="$(cat netboot.config | awk '/dns0/ { print $5 }')" -cat > /root/etc/resolv.conf << EOF +cat > $DNSFILE << EOF search ${rc_search} domain ${rc_search} nameserver ${rc_server0} @@ -120,12 +125,12 @@ EOF rc_server1=$(cat netboot.config | awk '/dns0/ { print $8 }') - if [ "${rc_server1}" ! = "0.0.0.0" ] + if [ "${rc_server1}" != "0.0.0.0" ] then - echo "nameserver ${rc_server1}" >> /root/etc/resolv.conf + echo "nameserver ${rc_server1}" >> $DNSFILE fi - cat /root/etc/resolv.conf >> /root/var/log/netboot.config + cat $DNSFILE >> /root/var/log/netboot.config fi fi fi diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh index 4ae5c07..52c045a 100755 --- a/components/9990-overlay.sh +++ b/components/9990-overlay.sh @@ -376,7 +376,7 @@ setup_unionfs () then local custom_mounts custom_mounts="/tmp/custom_mounts.list" - rm -rf ${custom_mounts} 2> /dev/null + rm -f ${custom_mounts} # Gather information about custom mounts from devies detected as overlays get_custom_mounts ${custom_mounts} ${overlay_devices} @@ -387,7 +387,7 @@ setup_unionfs () local used_overlays used_overlays="" used_overlays=$(activate_custom_mounts ${custom_mounts}) - rm ${custom_mounts} + rm -f ${custom_mounts} # Close unused overlays (e.g. due to missing $persistence_list) for overlay in ${overlay_devices} diff --git a/debian/changelog b/debian/changelog index 77bf94c..93f73ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,21 @@ +live-boot (4.0~alpha21-1) unstable; urgency=low + + * Building with dh --parallel. + + -- Daniel Baumann Mon, 31 Mar 2014 21:55:30 +0200 + +live-boot (4.0~alpha20-1) unstable; urgency=low + + [ Trent W. Buck ] + * Fix cut-and-paste typo verify-checksums -> panic. + + [ Evgeni Golov ] + * Properly check if $rc_server1 is not "0.0.0.0". + * Supporting resolvconf in the squashfs. + * Do not throw warnings when /tmp/custom_mounts.list does not exist. + + -- Daniel Baumann Mon, 31 Mar 2014 21:38:22 +0200 + live-boot (4.0~alpha19-1) experimental; urgency=low * Updating copyright notices for 2014. diff --git a/debian/rules b/debian/rules index 84e3394..e59fceb 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh ${@} + dh ${@} --parallel override_dh_auto_install: dh_auto_install -- DESTDIR=debian/tmp diff --git a/manpages/de/live-boot.de.7 b/manpages/de/live-boot.de.7 index 9b2ccaf..60a5f6a 100644 --- a/manpages/de/live-boot.de.7 +++ b/manpages/de/live-boot.de.7 @@ -3,7 +3,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH LIVE\-BOOT 7 2014\-02\-08 4.0~alpha19\-1 "Live Systems Project" +.TH LIVE\-BOOT 7 2014\-03\-31 4.0~alpha21\-1 "Live Systems Project" .SH NAME \fBlive\-boot\fP \- System Boot Components diff --git a/manpages/de/persistence.conf.de.5 b/manpages/de/persistence.conf.de.5 index 1fd62ec..cce1826 100644 --- a/manpages/de/persistence.conf.de.5 +++ b/manpages/de/persistence.conf.de.5 @@ -3,7 +3,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH LIVE\-BOOT conf 2014\-02\-08 4.0~alpha19\-1 "Live Systems Project" +.TH LIVE\-BOOT conf 2014\-03\-31 4.0~alpha21\-1 "Live Systems Project" .SH NAME \fBpersistence.conf\fP \- Configuration file for persistence media in live\-boot diff --git a/manpages/en/live-boot.7 b/manpages/en/live-boot.7 index 6c82c8c..e812ba4 100644 --- a/manpages/en/live-boot.7 +++ b/manpages/en/live-boot.7 @@ -1,4 +1,4 @@ -.TH LIVE\-BOOT 7 2014\-02\-08 4.0~alpha19-1 "Live Systems Project" +.TH LIVE\-BOOT 7 2014\-03\-31 4.0~alpha21-1 "Live Systems Project" .SH NAME \fBlive\-boot\fR \- System Boot Components diff --git a/manpages/en/persistence.conf.5 b/manpages/en/persistence.conf.5 index 72e341c..21cb75d 100644 --- a/manpages/en/persistence.conf.5 +++ b/manpages/en/persistence.conf.5 @@ -1,4 +1,4 @@ -.TH LIVE\-BOOT conf 2014\-02\-08 4.0~alpha19-1 "Live Systems Project" +.TH LIVE\-BOOT conf 2014\-03\-31 4.0~alpha21-1 "Live Systems Project" .SH NAME \fBpersistence.conf\fR \- Configuration file for persistence media in diff --git a/manpages/es/live-boot.es.7 b/manpages/es/live-boot.es.7 index 03ea578..b4b7905 100644 --- a/manpages/es/live-boot.es.7 +++ b/manpages/es/live-boot.es.7 @@ -3,7 +3,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH LIVE\-BOOT 7 2014\-02\-08 4.0~alpha19\-1 "Proyecto Live Systems" +.TH LIVE\-BOOT 7 2014\-03\-31 4.0~alpha21\-1 "Proyecto Live Systems" .SH NOMBRE \fBlive\-boot\fP \- Componentes de Arranque del Sistema diff --git a/manpages/es/persistence.conf.es.5 b/manpages/es/persistence.conf.es.5 index 741f8a1..15c0d03 100644 --- a/manpages/es/persistence.conf.es.5 +++ b/manpages/es/persistence.conf.es.5 @@ -3,7 +3,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH LIVE\-BOOT conf 2014\-02\-08 4.0~alpha19\-1 "Proyecto Live Systems" +.TH LIVE\-BOOT conf 2014\-03\-31 4.0~alpha21\-1 "Proyecto Live Systems" .SH NOMBRE \fBpersistence.conf\fP \- Fichero para configurar medios de almacenamiento con diff --git a/manpages/ja/live-boot.ja.7 b/manpages/ja/live-boot.ja.7 index 948ce8f..a75b06d 100644 --- a/manpages/ja/live-boot.ja.7 +++ b/manpages/ja/live-boot.ja.7 @@ -3,7 +3,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH LIVE\-BOOT 7 2014\-02\-08 4.0~alpha19\-1 "Live システムプロジェクト" +.TH LIVE\-BOOT 7 2014\-03\-31 4.0~alpha21\-1 "Live システムプロジェクト" .SH 名前 \fBlive\-boot\fP \- システム起動構成要素 diff --git a/manpages/ja/persistence.conf.ja.5 b/manpages/ja/persistence.conf.ja.5 index 9e296ea..3c33e8e 100644 --- a/manpages/ja/persistence.conf.ja.5 +++ b/manpages/ja/persistence.conf.ja.5 @@ -3,7 +3,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH LIVE\-BOOT conf 2014\-02\-08 4.0~alpha19\-1 "Live システムプロジェクト" +.TH LIVE\-BOOT conf 2014\-03\-31 4.0~alpha21\-1 "Live システムプロジェクト" .SH 名前 \fBpersistence.conf\fP \- live\-boot 状態保持用メディアの設定ファイル diff --git a/manpages/po/de/live-boot.7.po b/manpages/po/de/live-boot.7.po index d4b3943..fa64e05 100644 --- a/manpages/po/de/live-boot.7.po +++ b/manpages/po/de/live-boot.7.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: live-boot 4.0~alpha19-1\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"Project-Id-Version: live-boot 4.0~alpha21-1\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: 2013-11-10 20:10+0900\n" "Last-Translator: Carlos Zuferri \n" "Language-Team: none\n" @@ -24,14 +24,14 @@ msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" -msgstr "4.0~alpha19-1" +msgid "4.0~alpha21-1" +msgstr "4.0~alpha21-1" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 diff --git a/manpages/po/de/persistence.conf.5.po b/manpages/po/de/persistence.conf.5.po index d77ce22..08519ce 100644 --- a/manpages/po/de/persistence.conf.5.po +++ b/manpages/po/de/persistence.conf.5.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: live-boot 4.0~alpha19-1\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"Project-Id-Version: live-boot 4.0~alpha21-1\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: 2013-11-10 20:10+0900\n" "Last-Translator: Carlos Zuferri \n" "Language-Team: none\n" @@ -24,14 +24,14 @@ msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" -msgstr "4.0~alpha19-1" +msgid "4.0~alpha21-1" +msgstr "4.0~alpha21-1" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 diff --git a/manpages/po/es/live-boot.7.po b/manpages/po/es/live-boot.7.po index e598881..2b38466 100644 --- a/manpages/po/es/live-boot.7.po +++ b/manpages/po/es/live-boot.7.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: live-boot 4.0~alpha19-1\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"Project-Id-Version: live-boot 4.0~alpha21-1\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: 2013-11-10 20:10+0900\n" "Last-Translator: Carlos Zuferri \n" "Language-Team: none\n" @@ -25,14 +25,14 @@ msgstr "LIVE-BOOT" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" -msgstr "4.0~alpha19-1" +msgid "4.0~alpha21-1" +msgstr "4.0~alpha21-1" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 @@ -75,9 +75,9 @@ msgid "" "This includes the Live systems ISOs, netboot tarballs, and usb stick images." msgstr "" "live-boot es un hook para initramfs-tools, usado para generar un initramfs " -"capaz de arrancar sistemas en vivo, tales como los creados por I" -"(7). Esto incluye las ISOs de Live Systems, netboot tarballs y las imágenes " -"para llaves usb. " +"capaz de arrancar sistemas en vivo, tales como los creados por I(7). Esto incluye las ISOs de Live Systems, netboot tarballs y las " +"imágenes para llaves usb. " #. FIXME #. type: Plain text diff --git a/manpages/po/es/persistence.conf.5.po b/manpages/po/es/persistence.conf.5.po index 983d240..967fcfa 100644 --- a/manpages/po/es/persistence.conf.5.po +++ b/manpages/po/es/persistence.conf.5.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: live-boot 4.0~alpha19-1\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"Project-Id-Version: live-boot 4.0~alpha21-1\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: 2013-11-10 20:10+0900\n" "Last-Translator: Carlos Zuferri \n" "Language-Team: none\n" @@ -23,14 +23,14 @@ msgstr "LIVE-BOOT" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" -msgstr "4.0~alpha19-1" +msgid "4.0~alpha21-1" +msgstr "4.0~alpha21-1" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 diff --git a/manpages/po/ja/live-boot.7.po b/manpages/po/ja/live-boot.7.po index 0a66673..45bb989 100644 --- a/manpages/po/ja/live-boot.7.po +++ b/manpages/po/ja/live-boot.7.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: live-boot 4.0~alpha19-1\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"Project-Id-Version: live-boot 4.0~alpha21-1\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: 2013-11-10 20:10+0900\n" "Last-Translator: victory \n" "Language-Team: none\n" @@ -23,14 +23,14 @@ msgstr "LIVE-BOOT" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" -msgstr "4.0~alpha19-1" +msgid "4.0~alpha21-1" +msgstr "4.0~alpha21-1" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 diff --git a/manpages/po/ja/persistence.conf.5.po b/manpages/po/ja/persistence.conf.5.po index 68a1d39..7de475c 100644 --- a/manpages/po/ja/persistence.conf.5.po +++ b/manpages/po/ja/persistence.conf.5.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: live-boot 4.0~alpha19-1\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"Project-Id-Version: live-boot 4.0~alpha21-1\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: 2013-11-06 04:30+0900\n" "Last-Translator: victory \n" "Language-Team: none\n" @@ -23,14 +23,14 @@ msgstr "LIVE-BOOT" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" -msgstr "4.0~alpha19-1" +msgid "4.0~alpha21-1" +msgstr "4.0~alpha21-1" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 diff --git a/manpages/pot/live-boot.7.pot b/manpages/pot/live-boot.7.pot index 8504cfa..a5236ee 100644 --- a/manpages/pot/live-boot.7.pot +++ b/manpages/pot/live-boot.7.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: live-boot VERSION\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,13 +25,13 @@ msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" +msgid "4.0~alpha21-1" msgstr "" #. type: TH diff --git a/manpages/pot/persistence.conf.5.pot b/manpages/pot/persistence.conf.5.pot index 27d2152..e751930 100644 --- a/manpages/pot/persistence.conf.5.pot +++ b/manpages/pot/persistence.conf.5.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: live-boot VERSION\n" -"POT-Creation-Date: 2014-02-08 17:31+0100\n" +"POT-Creation-Date: 2014-03-31 21:55+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,13 +25,13 @@ msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "2014-02-08" +msgid "2014-03-31" msgstr "" #. type: TH #: en/live-boot.7:1 en/persistence.conf.5:1 #, no-wrap -msgid "4.0~alpha19-1" +msgid "4.0~alpha21-1" msgstr "" #. type: TH