.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 7 24.08.2012 3.0~b2\-1 "Debian Live Project"
+.TH LIVE\-BOOT 7 26.09.2012 3.0~b3\-1 "Debian Live Project"
.SH NAME
\fBlive\-boot\fP \- System Boot Scripts
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT conf 24.08.2012 3.0~b2\-1 "Debian Live Project"
+.TH LIVE\-BOOT conf 26.09.2012 3.0~b3\-1 "Debian Live Project"
.SH NAME
\fBlive\-persistence.conf\fP \- Configuration file for persistence media in
-.TH LIVE\-BOOT 7 2012\-08\-24 3.0~b2-1 "Debian Live Project"
+.TH LIVE\-BOOT 7 2012\-09\-26 3.0~b3-1 "Debian Live Project"
.SH NAME
\fBlive\-boot\fR \- System Boot Scripts
-.TH LIVE\-BOOT conf 2012\-08\-24 3.0~b2-1 "Debian Live Project"
+.TH LIVE\-BOOT conf 2012\-09\-26 3.0~b3-1 "Debian Live Project"
.SH NAME
\fBlive-persistence.conf\fR \- Configuration file for persistence media in
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 7 24.08.2012 3.0~b2\-1 "Proyecto Debian Live"
+.TH LIVE\-BOOT 7 26.09.2012 3.0~b3\-1 "Proyecto Debian Live"
.SH NOMBRE
\fBlive\-boot\fP \- Scripts de Arranque del Sistema
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT conf 24.08.2012 3.0~b2\-1 "Proyecto Debian Live"
+.TH LIVE\-BOOT conf 26.09.2012 3.0~b3\-1 "Proyecto Debian Live"
.SH NOMBRE
\fBlive\-persistence.conf\fP \- Fichero para configurar medios de almacenamiento
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b2-1\n"
-"POT-Creation-Date: 2012-08-24 12:36+0300\n"
+"Project-Id-Version: live-boot 3.0~b3-1\n"
+"POT-Creation-Date: 2012-09-26 14:38+0300\n"
"PO-Revision-Date: 2012-04-08 22:48+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "2012-08-24"
-msgstr "24.08.2012"
+msgid "2012-09-26"
+msgstr "26.09.2012"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "3.0~b2-1"
-msgstr "3.0~b2-1"
+msgid "3.0~b3-1"
+msgstr "3.0~b3-1"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b2-1\n"
-"POT-Creation-Date: 2012-08-24 12:36+0300\n"
+"Project-Id-Version: live-boot 3.0~b3-1\n"
+"POT-Creation-Date: 2012-09-26 14:38+0300\n"
"PO-Revision-Date: 2012-04-08 22:48+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "2012-08-24"
-msgstr "24.08.2012"
+msgid "2012-09-26"
+msgstr "26.09.2012"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "3.0~b2-1"
-msgstr "3.0~b2-1"
+msgid "3.0~b3-1"
+msgstr "3.0~b3-1"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b2-1\n"
-"POT-Creation-Date: 2012-08-24 12:36+0300\n"
+"Project-Id-Version: live-boot 3.0~b3-1\n"
+"POT-Creation-Date: 2012-09-26 14:38+0300\n"
"PO-Revision-Date: 2012-06-07 20:29+0200\n"
"Last-Translator: Carlos Zuferri «chals» <chals@altorricon.com>\n"
-"Language-Team: Debian Live <debian-live@lists.debian.org>\n"
-"Language: Spanish\n"
+"Language-Team: none\n"
+"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "2012-08-24"
-msgstr "24.08.2012"
+msgid "2012-09-26"
+msgstr "26.09.2012"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "3.0~b2-1"
-msgstr "3.0~b2-1"
+msgid "3.0~b3-1"
+msgstr "3.0~b3-1"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b2-1\n"
-"POT-Creation-Date: 2012-08-24 12:36+0300\n"
+"Project-Id-Version: live-boot 3.0~b3-1\n"
+"POT-Creation-Date: 2012-09-26 14:38+0300\n"
"PO-Revision-Date: 2012-06-07 19:11+0200\n"
"Last-Translator: Carlos Zuferri «chals» <chals@altorricon.com>\n"
-"Language-Team: Debian Live <debian-live@lists.debian.org>\n"
-"Language: Spanish\n"
+"Language-Team: none\n"
+"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "2012-08-24"
-msgstr "24.08.2012"
+msgid "2012-09-26"
+msgstr "26.09.2012"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "3.0~b2-1"
-msgstr "3.0~b2-1"
+msgid "3.0~b3-1"
+msgstr "3.0~b3-1"
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2012-08-24 12:36+0300\n"
+"POT-Creation-Date: 2012-09-26 14:38+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-persistence.conf.5:1
#, no-wrap
-msgid "2012-08-24"
+msgid "2012-09-26"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "3.0~b2-1"
+msgid "3.0~b3-1"
msgstr ""
#. type: TH
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2012-08-24 12:36+0300\n"
+"POT-Creation-Date: 2012-09-26 14:38+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-persistence.conf.5:1
#, no-wrap
-msgid "2012-08-24"
+msgid "2012-09-26"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/live-persistence.conf.5:1
#, no-wrap
-msgid "3.0~b2-1"
+msgid "3.0~b3-1"
msgstr ""
#. type: TH
esac
# Move to the new root filesystem so that programs there can get at it.
- if [ ! -d /root/live/image ]
- then
- mkdir -p /root/live/image
- mount --move /live/image /root/live/image
- fi
+ mkdir -p /root/live/image
+ mount --move /live/image /root/live/image
# aufs2 in kernel versions around 2.6.33 has a regression:
# directories can't be accessed when read for the first the time,
ls /root/* >/dev/null 2>&1
# Move findiso directory to the new root filesystem so that programs there can get at it.
- if [ -d /live/findiso ] && [ ! -d /root/live/findiso ]
+ if [ -d /live/findiso ]
then
mkdir -p /root/live/findiso
mount -n --move /live/findiso /root/live/findiso
then
echo ${ret}
else
+ # unmount and remove mountpoint
umount ${backing} > /dev/null 2>&1 || true
+ rmdir ${backing} > /dev/null 2>&1 || true
fi
}
done
fi
+ # make /root/live writable for moving filesystems
mkdir -p "${rootmnt}/live"
- mount -o move /live "${rootmnt}/live" >/dev/null 2>&1 || mount -o bind /live "${rootmnt}/live" || log_warning_msg "Unable to move or bind /live to ${rootmnt}/live"
+ mount -t tmpfs tmpfs "${rootmnt}/live"
+
+ # move all mountpoints to root filesystem
+ for _DIRECTORY in rofs persistence
+ do
+ if [ -d "/live/${_DIRECTORY}" ]
+ then
+ mkdir -p "${rootmnt}/live/${_DIRECTORY}"
+
+ for _MOUNT in $(ls /live/${_DIRECTORY})
+ do
+ mkdir -p "${rootmnt}/live/${_DIRECTORY}/${_MOUNT}"
+ mount -o move "/live/${_DIRECTORY}/${_MOUNT}" "${rootmnt}/live/${_DIRECTORY}/${_MOUNT}" > /dev/null 2>&1 || \
+ mount -o bind "/live/${_DIRECTORY}/${_MOUNT}" "${rootmnt}/live/${_DIRECTORY}/${_MOUNT}" || \
+ log_warning_msg "W: failed to mount /live/${_DIRECTORY}/${_MOUNT} to ${rootmnt}/live/${_DIRECTORY}/${_MOUNT}"
+ done
+ fi
+ done
- # shows cow fs on /overlay (FIXME: do we still need/want this? probably yes)
mkdir -p "${rootmnt}/live/overlay"
- mount -o move /live/overlay "${rootmnt}/live/overlay" >/dev/null 2>&1 || mount -o bind /overlay "${rootmnt}/live/overlay" || log_warning_msg "Unable to move or bind /overlay to ${rootmnt}/live/overlay"
+ mount -o move /live/overlay "${rootmnt}/live/overlay" > /dev/null 2>&1 || \
+ mount -o bind /overlay "${rootmnt}/live/overlay" || \
+ log_warning_msg "W: failed to mount /overlay to ${rootmnt}/live/overlay"
}