Adding upstream version 4.0~alpha20. upstream/4.0_alpha20
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 31 Mar 2014 19:42:06 +0000 (21:42 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 31 Mar 2014 19:42:06 +0000 (21:42 +0200)
22 files changed:
VERSION
components/9990-initramfs-tools.sh
components/9990-main.sh
components/9990-misc-helpers.sh
components/9990-netbase.sh
components/9990-overlay.sh
manpages/de/live-boot.de.7
manpages/de/persistence.conf.de.5
manpages/en/live-boot.7
manpages/en/persistence.conf.5
manpages/es/live-boot.es.7
manpages/es/persistence.conf.es.5
manpages/ja/live-boot.ja.7
manpages/ja/persistence.conf.ja.5
manpages/po/de/live-boot.7.po
manpages/po/de/persistence.conf.5.po
manpages/po/es/live-boot.7.po
manpages/po/es/persistence.conf.5.po
manpages/po/ja/live-boot.7.po
manpages/po/ja/persistence.conf.5.po
manpages/pot/live-boot.7.pot
manpages/pot/persistence.conf.5.pot

diff --git a/VERSION b/VERSION
index d5eae3d..eca9249 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.0~alpha19-1
+4.0~alpha20-1
index 210579d..eb11d23 100755 (executable)
@@ -31,7 +31,7 @@ panic()
        do
                case "${_PARAMETER}" in
                        panic=*)
-                               panic="${_PARAMETER#*verify-checksums=}"
+                               panic="${_PARAMETER#*panic=}"
                                ;;
                esac
        done
index 83f087f..85b8a1d 100755 (executable)
@@ -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
 
index c656f23..2bf2db1 100755 (executable)
@@ -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}\(/.*\)\?$"
index 496c3ff..a32a47b 100755 (executable)
@@ -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
index 4ae5c07..52c045a 100755 (executable)
@@ -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}
index 9b2ccaf..6346c37 100644 (file)
@@ -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~alpha20\-1 "Live Systems Project"
 
 .SH NAME
 \fBlive\-boot\fP \- System Boot Components
index 1fd62ec..02b45a3 100644 (file)
@@ -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~alpha20\-1 "Live Systems Project"
 
 .SH NAME
 \fBpersistence.conf\fP \- Configuration file for persistence media in live\-boot
index 6c82c8c..ed6fc05 100644 (file)
@@ -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~alpha20-1 "Live Systems Project"
 
 .SH NAME
 \fBlive\-boot\fR \- System Boot Components
index 72e341c..84533ff 100644 (file)
@@ -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~alpha20-1 "Live Systems Project"
 
 .SH NAME
 \fBpersistence.conf\fR \- Configuration file for persistence media in
index 03ea578..1567865 100644 (file)
@@ -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~alpha20\-1 "Proyecto Live Systems"
 
 .SH NOMBRE
 \fBlive\-boot\fP \- Componentes de Arranque del Sistema
index 741f8a1..f6323f7 100644 (file)
@@ -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~alpha20\-1 "Proyecto Live Systems"
 
 .SH NOMBRE
 \fBpersistence.conf\fP \- Fichero para configurar medios de almacenamiento con
index 948ce8f..c1e4b4e 100644 (file)
@@ -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~alpha20\-1 "Live システムプロジェクト"
 
 .SH 名前
 \fBlive\-boot\fP \- システム起動構成要素
index 9e296ea..590fcef 100644 (file)
@@ -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~alpha20\-1 "Live システムプロジェクト"
 
 .SH 名前
 \fBpersistence.conf\fP \- live\-boot 状態保持用メディアの設定ファイル
index d4b3943..f9b6dce 100644 (file)
@@ -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~alpha20-1\n"
+"POT-Creation-Date: 2014-03-31 21:39+0200\n"
 "PO-Revision-Date: 2013-11-10 20:10+0900\n"
 "Last-Translator: Carlos Zuferri <chals@altorricon.com>\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~alpha20-1"
+msgstr "4.0~alpha20-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index d77ce22..ec4d237 100644 (file)
@@ -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~alpha20-1\n"
+"POT-Creation-Date: 2014-03-31 21:39+0200\n"
 "PO-Revision-Date: 2013-11-10 20:10+0900\n"
 "Last-Translator: Carlos Zuferri <chals@altorricon.com>\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~alpha20-1"
+msgstr "4.0~alpha20-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index e598881..1b76358 100644 (file)
@@ -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~alpha20-1\n"
+"POT-Creation-Date: 2014-03-31 21:39+0200\n"
 "PO-Revision-Date: 2013-11-10 20:10+0900\n"
 "Last-Translator: Carlos Zuferri <chals@altorricon.com>\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~alpha20-1"
+msgstr "4.0~alpha20-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<live-helper>"
-"(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<live-"
+"helper>(7). Esto incluye las ISOs de Live Systems, netboot tarballs y las "
+"imágenes para llaves usb. "
 
 #.  FIXME
 #. type: Plain text
index 983d240..20e4ef3 100644 (file)
@@ -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~alpha20-1\n"
+"POT-Creation-Date: 2014-03-31 21:39+0200\n"
 "PO-Revision-Date: 2013-11-10 20:10+0900\n"
 "Last-Translator: Carlos Zuferri <chals@altorricon.com>\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~alpha20-1"
+msgstr "4.0~alpha20-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index 0a66673..cfc5f4d 100644 (file)
@@ -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~alpha20-1\n"
+"POT-Creation-Date: 2014-03-31 21:39+0200\n"
 "PO-Revision-Date: 2013-11-10 20:10+0900\n"
 "Last-Translator: victory <victory.deb@gmail.com>\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~alpha20-1"
+msgstr "4.0~alpha20-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index 68a1d39..89388f3 100644 (file)
@@ -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~alpha20-1\n"
+"POT-Creation-Date: 2014-03-31 21:39+0200\n"
 "PO-Revision-Date: 2013-11-06 04:30+0900\n"
 "Last-Translator: victory <victory.deb@gmail.com>\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~alpha20-1"
+msgstr "4.0~alpha20-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index 8504cfa..cd152b4 100644 (file)
@@ -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:39+0200\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"
@@ -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~alpha20-1"
 msgstr ""
 
 #. type: TH
index 27d2152..a7ea510 100644 (file)
@@ -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:39+0200\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"
@@ -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~alpha20-1"
 msgstr ""
 
 #. type: TH