-4.0~alpha19-1
+4.0~alpha20-1
do
case "${_PARAMETER}" in
panic=*)
- panic="${_PARAMETER#*verify-checksums=}"
+ panic="${_PARAMETER#*panic=}"
;;
esac
done
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
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}\(/.*\)\?$"
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
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
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}
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
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}
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}
.\" 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
.\" 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
-.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
-.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
.\" 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
.\" 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
.\" 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 \- システム起動構成要素
.\" 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 状態保持用メディアの設定ファイル
#
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"
#. 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
#
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"
#. 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
#
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"
#. 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
"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
#
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"
#. 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
#
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"
#. 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
#
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"
#. 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
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"
#. 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
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"
#. 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