Revisor and disk space
by Lars Bjørndal
Hello, list!
I would like to build a livecd on a system with too litle disk
space available. I therefor tried to mount /var/tmp as sshfs, but
then, I got the following error:
Architecture list: ['athlon', 'i686', 'i586', 'i486', 'i386', 'noarch']
Initting progress bar for Loading Repositories
Loading Repositories: Loading Repositories: 0.0% Getting configuration from /etc/revisor/conf.d/revisor-f8lrs-i386.conf
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/tmp/revisor/var/lib/rpm
yum.YumBase.doConfigSetup failed, probably an invalid configuration file /etc/revisor/conf.d/revisor-f8lrs-i386.conf
[root@cd ~]#
Why?
Lars
15 years, 11 months
config/livecd-fedora-kde.ks
by Sebastian Vahl
config/livecd-fedora-kde.ks | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
New commits:
commit 4e0bc8db751c175a25712a70b63af8bec37da52e
Author: Sebastian <sebastian(a)WORK.localdomain>
Date: Fri Apr 18 23:31:59 2008 +0200
clean up the removals, also remove nss_db+make
diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks
index 0ccc3f1..8acdb46 100644
--- a/config/livecd-fedora-kde.ks
+++ b/config/livecd-fedora-kde.ks
@@ -42,23 +42,13 @@ tibetan-machine-uni-fonts
# FIXME/TODO: recheck the removals here
# try to remove some packages from livecd-fedora-base-desktop.ks
--scim*
-gdm
-authconfig-gtk
--m17n*
--PolicyKit-gnome
--gnome-doc-utils-stylesheets
--anthy
--kasumi
--pygtkglext
--python-devel
--libchewing
-
-# save some space
--autofs
-# make sure, pirut isn't on the beta
--pirut
+# save some space (from @base)
+-make
+-nss_db
+-autofs
%end
15 years, 11 months
fonts list
by Rahul Sundaram
Hi,
In the Fedora 9 Xfce ks file, I had to remove the following font
packages manually since they ended up being in the live cd even though I
had not selected any additional languages.
--------------
-lohit-fonts-*
-thaifonts-scalable
-paktype-fonts
-VLGothic-fonts
-baekmuk-ttf-fonts-*
-kacst-fonts
-lklug-fonts
-jomolhari-fonts
-abyssinica-fonts
-cjkunifonts-uming
--------------------
Rahul
15 years, 11 months
tools/livecd-iso-to-disk.sh
by Jeremy Katz
tools/livecd-iso-to-disk.sh | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
New commits:
commit f9e5856f2b30b5c7e70dbc5bdf8ebaf254e911fb
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Fri Apr 18 15:53:21 2008 -0400
Check the available space on the stick (#443046)
To avoid corrupting filesystems, we need to check the available space
first. This may end up being off by a little bit, but it will be so by
overestimating the amount of space needed so should be fine
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index cc94397..030753a 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -212,6 +212,28 @@ mount $USBDEV $USBMNT || exitclean
trap exitclean SIGINT SIGTERM
+# let's try to make sure there's enough room on the stick
+if [ -d $CDMNT/LiveOS ]; then
+ check=$CDMNT/LiveOS
+else
+ check=$CDMNT
+fi
+if [ -d $USBMNT/LiveOS ]; then
+ tbd=$(du -s -B 1M $USBMNT/LiveOS | awk {'print $1;'})
+else
+ tbd=0
+fi
+livesize=$(du -s -B 1M $check | awk {'print $1;'})
+free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'})
+
+if [ $(($overlaysizemb + $livesize)) -gt $(($free + $tbd)) ]; then
+ echo "Unable to fit live image + overlay on available space on USB stick"
+ echo "Size of live image: $livesize"
+ echo "Overlay size: $overlaysizemb"
+ echo "Available space: $(($free + $tbd))"
+ exitclean
+fi
+
if [ -d $USBMNT/LiveOS ]; then
echo "Already set up as live image. Deleting old in fifteen seconds..."
sleep 15
15 years, 11 months
gpk-update applet on live cd
by Rahul Sundaram
Hi,
gpk-update applet runs on the live cd and checks for updates on the live
cd environment (atleast for the xfce spin) and I suspect it does on the
other live cd's as well. Should this be disabled? If so, what would be
the best way to do it?
Rahul
15 years, 11 months
tools/livecd-iso-to-disk.sh
by Jeremy Katz
tools/livecd-iso-to-disk.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a41a718e2264ac3498b6ed78d9a22888875b3813
Author: Ignacio Vazquez-Abrams <ivazqueznet(a)gmail.com>
Date: Fri Apr 18 10:59:22 2008 -0400
Make the iso checking a bit more specific
Ensure that the ISO given is an actual file and not, eg, a directory
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 0b70eff..cc94397 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -168,10 +168,10 @@ while [ $# -gt 2 ]; do
shift
done
-ISO=$1
+ISO=$(readlink -f "$1")
USBDEV=$2
-if [ -z "$ISO" -o ! -e "$ISO" ]; then
+if [ -z "$ISO" -o ! -f "$ISO" ]; then
usage
fi
15 years, 11 months
[livecd-creator] ioctl: LOOP_CLR_FD: Device or resource busy
by Davidson Paulo
Hi,
I'm trying to build a Fedora 8 Live CD using livecd-creator with a
hand-made kickstart, but I experiencing the following problem that
occurs after all the packages are installed:
# livecd-creator -c ~dpaulo/fedora-full.ks
--cache=/srv/revisor/livecd-cache/ --fslabel=F-8-Live-1
(...)
Installing: system-config-keyboard ##################### [533/533]
umount: /var/tmp/livecd-creator-dXy9yh/install_root: resource is busy
umount: /var/tmp/livecd-creator-dXy9yh/install_root: resource is busy
ioctl: LOOP_CLR_FD: Device or resource busy
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 1603, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 1575, in main
target.install()
File "/usr/bin/livecd-creator", line 948, in install
self.installPackages()
File "/usr/bin/livecd-creator", line 602, in installPackages
%(self.build_dir, subdir)):
OSError: [Errno 2] No such file or directory:
'/var/tmp/livecd-creator-dXy9yh/install_root/etc/lvm/cache'
Software versions:
* kernel-2.6.24.4-64.fc8
* livecd-tools-013-1.fc8
* yum-3.2.8-2.fc8
I'm attaching fedora-full.ks kickstart file.
Thanks a lot,
--
Davidson Paulo
Linux System Administrator
LPI Certified Level 1: LPI000132770
Revista Fedora Brasil, Editor-In-Chief
Fedora Project, Ambassador
http://daveandnaty.blogspot.com/
http://davidsonenatalia.blogspot.com/
15 years, 11 months
[PATCH] Make the iso checking a bit more specific
by Ignacio Vazquez-Abrams
tools/livecd-iso-to-disk.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 0b70eff..cc94397 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -168,10 +168,10 @@ while [ $# -gt 2 ]; do
shift
done
-ISO=$1
+ISO=$(readlink -f "$1")
USBDEV=$2
-if [ -z "$ISO" -o ! -e "$ISO" ]; then
+if [ -z "$ISO" -o ! -f "$ISO" ]; then
usage
fi
--
1.5.3.3
--
Ignacio Vazquez-Abrams <ivazqueznet(a)gmail.com>
15 years, 11 months
config/livecd-fedora-desktop.ks
by Matthias Clasen
config/livecd-fedora-desktop.ks | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit acfa2f1bdd931465dc39f60b957475564e6fa7d8
Author: Matthias Clasen <mclasen(a)redhat.com>
Date: Fri Apr 18 10:46:45 2008 -0400
Don't set the face to the fedora logo.
We don't show the user list on the login screen anymore by default anyway,
and having two fedora logos on the panel looks somewhat odd
diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks
index d9115ba..4a4370e 100644
--- a/config/livecd-fedora-desktop.ks
+++ b/config/livecd-fedora-desktop.ks
@@ -157,12 +157,6 @@ TimedLoginEnable=true
TimedLogin=fedora
TimedLoginDelay=60
FOE
-if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
- cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face
- chown fedora:fedora /home/fedora/.face
- chmod 711 /home/fedora
- # TODO: would be nice to get e-d-s to pick this one up too... but how?
-fi
EOF
15 years, 11 months
config/livecd-fedora-desktop.ks
by Bill Nottingham
config/livecd-fedora-desktop.ks | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 1636eabe8fe00f6eeaf48d3671d51961406f6af3
Author: Bill Nottingham <notting(a)redhat.com>
Date: Thu Apr 17 14:30:08 2008 -0400
gnome-power-manager handles soft-shutdown in GNOME
diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks
index edd6097..d9115ba 100644
--- a/config/livecd-fedora-desktop.ks
+++ b/config/livecd-fedora-desktop.ks
@@ -138,6 +138,8 @@ scim-pinyin
-dasher
-evince-dvi
-evince-djvu
+# not needed for gnome
+-acpid
# temporary - drags in many deps
-ekiga
-tomboy
15 years, 11 months