Re: [Fedora-spins] /dev/live, /mnt/live, LiveOS/home.img unavailable in Fedora-17
by Frederick Grose
On Mon, Mar 26, 2012 at 12:02 PM, Frederick Grose <fgrose(a)gmail.com> wrote:
> Please note that the current Fedora-17-Beta-TC2-Live images lack
> some traditional Live CD/USB features.
>
> See this bug report.
> https://bugzilla.redhat.com/show_bug.cgi?id=740280
>
> /dev/live was a link to the installation partition on the Live USB, such
> as /dev/sdc1,
> or /dev/sr0 on a Live CD/DVD.
>
> How would a script determine this partition without human input?
>
> /mnt/live was a convenient mounting of the installation partition
> filesystem.
> It allowed easy access to pre-existing content on the Live USB device or to
> the /LiveOS and /syslinux directories.
>
> The --home-size-mb NNN option of livecd-iso-to-disk produced a
> /LiveOS/home.img
> filesystem for the liveuser's home directory.
>
> This feature made possible the --encrypted-home option, which would secure
> the privacy of a user directory on a Live USB system.
>
> The home.img filesystem was also read/write/delete without consuming the
> LiveOS overlay. This is important for non-short-term Live USB deployments,
> such as Sugar on a Stick, where overlay exhaustion can be a significant
> problem.
>
> Is there a workaround for these (missing) features?
>
> --Fred
>
This patch restores the lost features:
commit 1580cddaea504efd68c5e10fee70e09d7e81d86b
Author: Frederick Grose <fgrose(a)sugarlabs.org>
Date: Thu Mar 29 16:27:30 2012 -0400
Mount live device on /mnt/live, link it to /dev/live
This enables the mounting of /LiveOS/home.img, if present.
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 0b14fec..0cf0fb2 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -88,10 +88,22 @@ touch /.liveimg-configured
# Make sure we don't mangle the hardware clock on shutdown
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
+findmount() {
+ local info=()
+ while read -a info; do
+ if [[ ${info[4]} == $1 ]]; then
+ echo ${info[8]}
+ break;
+ fi
+ done < /proc/self/mountinfo
+}
+
# mount live image
-if [ -b \`readlink -f /dev/live\` ]; then
+livedev=$(findmount /run/initramfs/live)
+if [[ -b $livedev ]]; then
mkdir -p /mnt/live
- mount -o ro /dev/live /mnt/live 2>/dev/null || mount /dev/live /mnt/live
+ mount -o ro $livedev /mnt/live 2>/dev/null || mount $livedev /mnt/live
+ ln -s $livedev /dev/live
fi
livedir="LiveOS"
@@ -220,7 +232,7 @@ if strstr "\`cat /proc/cmdline\`" CDLABEL= ; then
# io errors due to not being able to get files...
#cat /sbin/halt > /dev/null
#cat /sbin/reboot > /dev/null
-#/usr/sbin/eject -p -m \$(readlink -f /dev/live) >/dev/null 2>&1
+#/usr/sbin/eject -p -m \$livedev >/dev/null 2>&1
#echo "Please remove the CD from your drive and press Enter to finish
restarting"
#read -t 30 < /dev/console
FOE
11 years
[spin-kickstarts/f17] Prepare a potential F17 final spin-kickstarts package
by Bruno Wolff III
commit 640b15e79cf1861462cfbcd1eb25cbd46d25cd87
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sun Apr 29 07:30:31 2012 -0500
Prepare a potential F17 final spin-kickstarts package
configure.ac | 2 +-
spin-kickstarts.spec.in | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fa3f38a..dae349e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([spin-kickstarts], 0.17.2)
+AC_INIT([spin-kickstarts], 0.17.3)
AC_SUBST([RELEASE], 1)
ALL_LINGUAS="bn_IN bn ca cs da de el es fi fr gl gu hi hr hu is it ja ko ml ms nb nl or pa pl pt pt_BR ru sk sl sr@latin sr sv ta tr uk zh_CN zh_TW"
diff --git a/spin-kickstarts.spec.in b/spin-kickstarts.spec.in
index dff08cc..ff03638 100644
--- a/spin-kickstarts.spec.in
+++ b/spin-kickstarts.spec.in
@@ -76,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_datadir}/%{name}/l10n/README
%changelog
+* Sun Apr 29 2012 Bruno Wolff III <bruno(a)wolff.to> 0.17.3-1
+- Potential F17 final version
+
* Tue Mar 13 2012 Bruno Wolff III <bruno(a)wolff.to> 0.17.2-1
- Get a fresh build for beta
11 years, 1 month
[spin-kickstarts/f17] make SoaS 3Gb
by Peter Robinson
commit 2afac301ca901d9cc4256fd15ed6b8d53f691df1
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Sat Apr 28 09:21:00 2012 +0100
make SoaS 3Gb
fedora-livecd-soas.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index 83f10f0..6d3deac 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -10,7 +10,7 @@
%include fedora-live-mini.ks
-part / --size=2560
+part / --size=3072
firewall --enabled --service=mdns,presence
%packages
11 years, 1 month
[spin-kickstarts] make SoaS 3Gb
by Peter Robinson
commit 19d152baef4936301eedbecafb63c7ea557ad3c2
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Sat Apr 28 09:21:00 2012 +0100
make SoaS 3Gb
fedora-livecd-soas.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index 83f10f0..6d3deac 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -10,7 +10,7 @@
%include fedora-live-mini.ks
-part / --size=2560
+part / --size=3072
firewall --enabled --service=mdns,presence
%packages
11 years, 1 month
[spin-kickstarts] remove gnome-utils from design-suite since its removed from fedora
by Dennis Gilmore
commit 285e07bb79ded9634105f8353359bc23efc7a8f2
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Apr 24 23:27:29 2012 -0500
remove gnome-utils from design-suite since its removed from fedora
fedora-livecd-design-suite.ks | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-design-suite.ks b/fedora-livecd-design-suite.ks
index 03dd77a..8b4eaea 100644
--- a/fedora-livecd-design-suite.ks
+++ b/fedora-livecd-design-suite.ks
@@ -65,7 +65,6 @@ totem
# system
gedit
gnome-terminal
-gnome-utils
gtk-recordmydesktop
NetworkManager-gnome
11 years, 1 month
[spin-kickstarts] exclude syslog-ng* it has subpackages that get pulled in causing the srpm to be needed but not found
by Dennis Gilmore
commit 7c56a4461683bdd83573b8e93f8ef2935346d9ed
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Apr 24 23:23:34 2012 -0500
exclude syslog-ng* it has subpackages that get pulled in causing the srpm to be needed but not found.
this fixes a compose failure
fedora-install-fedora.ks | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fedora-install-fedora.ks b/fedora-install-fedora.ks
index 51d00e7..4789bd6 100644
--- a/fedora-install-fedora.ks
+++ b/fedora-install-fedora.ks
@@ -10,8 +10,8 @@
#part iso --size=4998
# Add the repos you wish to use to compose here. At least one of them needs group data.
-repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude java-1.5.0-gcj-javadoc --exclude btanks* --exclude GConf2-dbus* --exclude bluez-gnome
-repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude java-1.5.0-gcj-javadoc --exclude btanks* --exclude GConf2-dbus* --exclude bluez-gnome
+repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng* --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude java-1.5.0-gcj-javadoc --exclude btanks* --exclude GConf2-dbus* --exclude bluez-gnome
+repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng* --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude java-1.5.0-gcj-javadoc --exclude btanks* --exclude GConf2-dbus* --exclude bluez-gnome
# Package manifest for the compose. Uses repo group metadata to translate groups.
11 years, 1 month
[spin-kickstarts] add sugar-desktop to Fedora install DVD bz#808039
by Dennis Gilmore
commit 62c1ef838e8f79cb8370b2ce49d6a2a60e498ed1
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Apr 24 23:21:54 2012 -0500
add sugar-desktop to Fedora install DVD bz#808039
fedora-install-fedora.ks | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/fedora-install-fedora.ks b/fedora-install-fedora.ks
index 4639ce6..51d00e7 100644
--- a/fedora-install-fedora.ks
+++ b/fedora-install-fedora.ks
@@ -30,6 +30,7 @@ efibootmgr
@kde-desktop
@xfce-desktop
@lxde-desktop
+@sugar-desktop
echo-icon-theme
tracker
swfdec
11 years, 1 month
[spin-kickstarts] Set the image size for sugar to 2.5GiB this allows the compose to complete
by Dennis Gilmore
commit 0db2bc077749b4ad1e5fcfa2c715c41696ebd483
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Apr 24 23:19:13 2012 -0500
Set the image size for sugar to 2.5GiB this allows the compose to complete
fedora-livecd-soas.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index c991e10..83f10f0 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -10,7 +10,7 @@
%include fedora-live-mini.ks
-part / --size=2048
+part / --size=2560
firewall --enabled --service=mdns,presence
%packages
11 years, 1 month
[spin-kickstarts/f17] remove gnome-utils from design-suite since its removed from fedora
by Dennis Gilmore
commit 2e2762083362a63edb0ff480bed3d8c629e671f0
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Apr 24 23:27:29 2012 -0500
remove gnome-utils from design-suite since its removed from fedora
fedora-livecd-design-suite.ks | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-design-suite.ks b/fedora-livecd-design-suite.ks
index 03dd77a..8b4eaea 100644
--- a/fedora-livecd-design-suite.ks
+++ b/fedora-livecd-design-suite.ks
@@ -65,7 +65,6 @@ totem
# system
gedit
gnome-terminal
-gnome-utils
gtk-recordmydesktop
NetworkManager-gnome
11 years, 1 month