OpenGL with nVIDIA acceleration
by Saki Gaitatzes
Hello,
How do I add the nVIDIA acceleration drivers to the Fedora kde livecd to
have decent opengl performance ?
Thank you
--
Athanasios Gaitatzes (Saki)
Virtual Reality Department Manager
Foundation of the Hellenic World
38 Poulopoulou St., Thisio 11851, Athens Greece
Mob: (+30) 698 254 0120
Tel: (+30) 212 254 3800
Fax: (+30) 212 254 3838
15 years, 10 months
error building Live CD/DVD [File "/usr/bin/livecd-creator", line 132, in <module>]
by Davide Marchi
Hello,
trying to build Fedora Core 9 based Live DVD,
where i've changed the default virtual harddisk size from 4096 to 4672,
this happens:
/sbin/restorecon reset /var/cache/yum/myrepofc9/primary.xml.gz context
system_u:object_r:nfs_t:s0->system_u:object_r:var_t:s0
e2fsck 1.40.8 (13-Mar-2008)
Passo 1: Controllo di inode, blocco(i) e dimensioni
Passo 2: Analisi della struttura delle directory
Passo 3: Controllo della connettività di directory
Pass 4: Controllo del numero dei riferimenti
Pass 5: Checking gruppo summary information
cosmogoniA: 174066/299552 files (1.1% non-contiguous), 1160934/1196032
blocks
e2fsck 1.40.8 (13-Mar-2008)
Passo 1: Controllo di inode, blocco(i) e dimensioni
Passo 2: Analisi della struttura delle directory
Passo 3: Controllo della connettività di directory
Pass 4: Controllo del numero dei riferimenti
Pass 5: Checking gruppo summary information
cosmogoniA: 174066/291456 files (1.1% non-contiguous), 1160426/1160426
blocks
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 132, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 122, in main
creator.package()
File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line
678, in package
self._stage_final_image()
File "/usr/lib/python2.5/site-packages/imgcreate/live.py", line 268,
in _stage_final_image
self._image, minimal_size)
File "/usr/lib/python2.5/site-packages/imgcreate/fs.py", line 393, in
create_image_minimizer
cowloop.create()
File "/usr/lib/python2.5/site-packages/imgcreate/fs.py", line 193, in
create
self.expand(create = True)
File "/usr/lib/python2.5/site-packages/imgcreate/fs.py", line 179, in
expand
fd = os.open(self.lofile, flags)
OSError: [Errno 20] Not a directory:
'/media/BIG/cosmogonia/Live/tmp/imgcreate-1q-y8w/iso-oOn6oF/LiveOS/osmin'
could you suggest me any way out ? :-)
many many thanks!
--
cosmogoniA <http://www.cosmogonia.org/>
noprovarenofareononfarenonc'èprovare
15 years, 10 months
Request/wish list/bug report?
by livecd@mjkern2000.fastmail.fm
Can someone either modify the Livecd tools or point me to how one would
take an existing good install of Fedora and make a live cd "backup" from
that installation?
The idea is sort of like a backup of a good system with the system edits
and configurations/software installs that you desire. Ubuntu makes this
in remastersys. I have tested this thoroughly. It works very well with
the Gnome version of ubuntu, (but is a little twitchy with any other
combination of window manager and Debian).
The idea is to create a hard drive version of Fedora (8 or 9) and then
move it to a flash drive that emulates a CD. This would be used for
devices similar to the One Laptop Per Child I think I have the technique
down that I can do the CD emulation pretty good, but making a backup of
Fedora with the desired configurations has been difficult. It is easy
to get the software install that is desired, but I need to do some edits
to firefox, install some add-ins (hard to do with kickstart in the
install the software mode) and harden firefox, then add some WEP codes
then build the CD. If someone can point me to some tutorials where you
can do this via scripting, I could do that - but I have no idea how to
script the firefox add-ins and settings in a script much less put WEP
codes in that will carry over to the CD.
--
mjkern2000(a)fastmail.fm
15 years, 10 months
4 commits - imgcreate/kickstart.py imgcreate/live.py tools/livecd-iso-to-disk.sh
by Jeremy Katz
imgcreate/kickstart.py | 2
imgcreate/live.py | 94 ++++++++++++++++++++++++++++++-
tools/livecd-iso-to-disk.sh | 132 ++++++++++++++++++++++++++++++++++++++------
3 files changed, 208 insertions(+), 20 deletions(-)
New commits:
commit 680197140cb1da8c0916e3ae477374a4b7192902
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Jun 9 11:24:37 2008 -0400
Fix permissions on livecd-iso-to-disk
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
old mode 100644
new mode 100755
commit cd884e132fff7516bf75ce197669ee081f8dfeaa
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Jun 9 10:45:12 2008 -0400
Fix wrong variable breaking using unencrypted passwords
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 180cea2..39756b2 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -188,7 +188,7 @@ class RootPasswordConfig(KickstartConfig):
def set_unencrypted(self, password):
for p in ("/bin/echo", "/usr/bin/passwd"):
- if not os.path.exists("%s/%s" %(self.chroot, p)):
+ if not os.path.exists("%s/%s" %(self.instroot, p)):
raise errors.KickstartError("Unable to set unencrypted password due to lack of %s" % p)
p1 = subprocess.Popen(["/bin/echo", password],
commit 591abeb5b75f5dba93f01206a7eaa5e27cba1561
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Jun 9 10:42:58 2008 -0400
Support making a Fedora 9 usb stick for the Intel-based Macs
We didn't set up the live image for EFI booting in Fedora 9, but all the
pieces are there. So add something that will work for the stock Fedora 9
images
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 7408d31..3fd2145 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -292,6 +292,7 @@ if [ -z "$noverify" ]; then
fi
# do some basic sanity checks.
+checkFilesystem $USBDEV
checkMounted $USBDEV
if [ -z "$mactel" ]; then
checkSyslinuxVersion
@@ -302,7 +303,6 @@ else
[ -n "$resetmbr" ] && createGPTLayout $USBDEV
checkGPT $USBDEV
fi
-checkFilesystem $USBDEV
if [ -n "$overlaysizemb" -a "$USBFS" = "vfat" ]; then
@@ -397,7 +397,36 @@ if [ -z "$mactel" ]; then
cp $CDMNT/isolinux/* $USBMNT/$SYSLINUXPATH
BOOTCONFIG=$USBMNT/$SYSLINUXPATH/isolinux.cfg
else
- cp $CDMNT/EFI/boot/* $USBMNT/EFI/boot
+ if [ -d $CDMNT/EFI/boot ]; then
+ cp $CDMNT/EFI/boot/* $USBMNT/EFI/boot
+ else
+ # whee! this image wasn't made with grub.efi bits. so we get to create
+ # them here. isn't life grand?
+ cp $CDMNT/isolinux/* $USBMNT/EFI/boot
+ mount -o loop,ro -t squashfs $CDMNT/LiveOS/squashfs.img $CDMNT
+ mount -o loop,ro -t ext3 $CDMNT/LiveOS/ext3fs.img $CDMNT
+ cp $CDMNT/boot/efi/EFI/redhat/grub.efi $USBMNT/EFI/boot/boot.efi
+ cp $CDMNT/boot/grub/splash.xpm.gz $USBMNT/EFI/boot/splash.xpm.gz
+ if [ -d $CDMNT/lib64 ]; then efiarch="x64" ; else efiarch="ia32"; fi
+ umount $CDMNT
+ umount $CDMNT
+
+ # magic config...
+ cat > $USBMNT/EFI/boot/boot.conf <<EOF
+default=0
+splashimage=/EFI/boot/splash.xpm.gz
+timeout 10
+hiddenmenu
+
+title Live
+ kernel /EFI/boot/vmlinuz0 root=CDLABEL=live rootfstype=iso9660 ro quiet liveimg
+ initrd /EFI/boot/initrd0.img
+EOF
+
+ cp $USBMNT/EFI/boot/boot.conf $USBMNT/EFI/boot/boot${efiarch}.conf
+ cp $USBMNT/EFI/boot/boot.efi $USBMNT/EFI/boot/boot${efiarch}.efi
+ fi
+
# this is a little ugly, but it gets the "interesting" named config file
BOOTCONFIG=$USBMNT/EFI/boot/boot?*.conf
fi
commit ceb818924b458b273293b17dd54b482b4581b528
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Jun 5 21:04:40 2008 -0400
Add support for booting Intel Macs via EFI on USB (#450193)
Intel Macs require an EFI setup for booting off of USB, so add support
to the creator and iso-to-disk for handling this. Main components are
*) Adding EFI grub bits to the image
*) Creating a grub.conf in addition to the syslinux config
*) Doing the appropriate munging when copying over
NOTE: The first time you create a bootable USB stick for a Mac, it will be
a destructive operation due to the need to switch from msdos -> gpt
diff --git a/imgcreate/live.py b/imgcreate/live.py
index ef07d19..1c54cf6 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -325,7 +325,7 @@ class x86LiveImageCreator(LiveImageCreatorBase):
shutil.copy(path, isodir + "/isolinux/")
- def __copy_background(self, isodest):
+ def __copy_syslinux_background(self, isodest):
background_path = self._instroot + \
"/usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg"
@@ -469,7 +469,7 @@ menu hiddenrow 5
localboot 0xffff
"""
- def _configure_bootloader(self, isodir):
+ def _configure_syslinux_bootloader(self, isodir):
"""configure the boot loader"""
makedirs(isodir + "/isolinux")
@@ -479,7 +479,7 @@ menu hiddenrow 5
self.__find_syslinux_mboot())
background = ""
- if self.__copy_background(isodir + "/isolinux/splash.jpg"):
+ if self.__copy_syslinux_background(isodir + "/isolinux/splash.jpg"):
background = "menu background splash.jpg"
cfg = self.__get_basic_syslinux_config(menu = menu,
@@ -496,6 +496,94 @@ menu hiddenrow 5
cfgf.write(cfg)
cfgf.close()
+ def __copy_efi_files(self, isodir):
+ if not os.path.exists(self._instroot + "/boot/efi/EFI/redhat/grub.efi"):
+ return False
+ shutil.copy(self._instroot + "/boot/efi/EFI/redhat/grub.efi",
+ isodir + "/EFI/boot/grub.efi")
+ shutil.copy(self._instroot + "/boot/grub/splash.xpm.gz",
+ isodir + "/EFI/boot/splash.xpm.gz")
+
+ return True
+
+ def __get_basic_efi_config(self, **args):
+ return """
+default=0
+splashimage=/EFI/boot/splash.xpm.gz
+timeout %(timeout)d
+hiddenmenu
+
+""" %args
+
+ def __get_efi_image_stanza(self, **args):
+ return """title %(long)s
+ kernel /EFI/boot/vmlinuz%(index)s root=CDLABEL=%(fslabel)s rootfstype=iso9660 %(liveargs)s %(extra)s
+ initrd /EFI/boot/initrd%(index)s.img
+""" %args
+
+ def __get_efi_image_stanzas(self, isodir, name):
+ # FIXME: this only supports one kernel right now...
+
+ kernel_options = self._get_kernel_options()
+ checkisomd5 = self._has_checkisomd5()
+
+ cfg = ""
+
+ for index in range(0, 9):
+ # we don't support xen kernels
+ if os.path.exists("%s/EFI/boot/xen%d.gz" %(isodir, index)):
+ continue
+ cfg += self.__get_efi_image_stanza(fslabel = self.fslabel,
+ liveargs = kernel_options,
+ long = name,
+ extra = "", index = index)
+ if checkisomd5:
+ cfg += self.__get_efi_image_stanza(fslabel = self.fslabel,
+ liveargs = kernel_options,
+ long = "Verify and Boot " + name,
+ extra = "check",
+ index = index)
+ break
+
+ return cfg
+
+ def _configure_efi_bootloader(self, isodir):
+ """Set up the configuration for an EFI bootloader"""
+ makedirs(isodir + "/EFI/boot")
+
+ if not self.__copy_efi_files(isodir):
+ shutil.rmtree(isodir + "/EFI")
+ return
+
+ for f in os.listdir(isodir + "/isolinux"):
+ os.link("%s/isolinux/%s" %(isodir, f),
+ "%s/EFI/boot/%s" %(isodir, f))
+
+
+ cfg = self.__get_basic_efi_config(name = self.name,
+ timeout = self._timeout)
+ cfg += self.__get_efi_image_stanzas(isodir, self.name)
+
+ cfgf = open(isodir + "/EFI/boot/grub.conf", "w")
+ cfgf.write(cfg)
+ cfgf.close()
+
+ # first gen mactel machines get the bootloader name wrong apparently
+ if rpmUtils.arch.getBaseArch() == "i386":
+ os.link(isodir + "/EFI/boot/grub.efi", isodir + "/EFI/boot/boot.efi")
+ os.link(isodir + "/EFI/boot/grub.conf", isodir + "/EFI/boot/boot.conf")
+
+ # for most things, we want them named boot$efiarch
+ efiarch = {"i386": "ia32", "x86_64": "x64"}
+ efiname = efiarch[rpmUtils.arch.getBaseArch()]
+ os.rename(isodir + "/EFI/boot/grub.efi", isodir + "/EFI/boot/boot%s.efi" %(efiname,))
+ os.link(isodir + "/EFI/boot/grub.conf", isodir + "/EFI/boot/boot%s.conf" %(efiname,))
+
+
+ def _configure_bootloader(self, isodir):
+ self._configure_syslinux_bootloader(isodir)
+ self._configure_efi_bootloader(isodir)
+
class ppcLiveImageCreator(LiveImageCreatorBase):
def _get_mkisofs_options(self, isodir):
return [ "-hfs", "-nodesktop", "-part"
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 7468cbb..7408d31 100644
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -57,6 +57,9 @@ getdisk() {
fi
device="/dev/$device"
+ # FIXME: weird dev names could mess this up I guess
+ p=/dev/`basename $p`
+ partnum=${p##$device}
}
resetMBR() {
@@ -115,6 +118,51 @@ checkPartActive() {
fi
}
+createGPTLayout() {
+ dev=$1
+ getdisk $dev
+
+ echo "WARNING: THIS WILL DESTROY ANY DATA ON $device!!!"
+ echo "Press Enter to continue or ctrl-c to abort"
+ read
+
+ /sbin/parted --script $device mklabel gpt
+ partinfo=$(/sbin/parted --script -m $device "unit b print" |grep ^$device:)
+ size=$(echo $partinfo |cut -d : -f 2 |sed -e 's/B$//')
+ /sbin/parted --script $device unit b mkpart '"EFI System Partition"' fat32 17408 $(($size - 17408)) set 1 boot on
+ USBDEV=${device}1
+ /sbin/udevsettle
+ /sbin/mkdosfs -n LIVE $USBDEV
+}
+
+checkGPT() {
+ dev=$1
+ getdisk $dev
+
+ if [ "$(/sbin/fdisk -l $device 2>/dev/null |grep -c GPT)" -eq "0" ]; then
+ echo "EFI boot requires a GPT partition table."
+ echo "This can be done manually or you can run with --reset-mbr"
+ exitclean
+ fi
+
+ partinfo=$(/sbin/parted --script -m $device "print" |grep ^$partnum:)
+ volname=$(echo $partinfo |cut -d : -f 6)
+ flags=$(echo $partinfo |cut -d : -f 7)
+ if [ "$volname" != "EFI System Partition" ]; then
+ echo "Partition name must be 'EFI System Partition'"
+ echo "This can be set in parted or you can run with --reset-mbr"
+ exitclean
+ fi
+ if [ "$(echo $flags |grep -c boot)" = "0" ]; then
+ echo "Partition isn't marked bootable!"
+ echo "You can mark the partition as bootable with "
+ echo " # /sbin/parted $device"
+ echo " (parted) toggle N boot"
+ echo " (parted) quit"
+ exitclean
+ fi
+}
+
checkFilesystem() {
dev=$1
@@ -141,6 +189,10 @@ checkFilesystem() {
exitclean
fi
fi
+
+ if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
+ mountopts="-o shortname=winnt,umask=0077"
+ fi
}
checkSyslinuxVersion() {
@@ -199,6 +251,9 @@ while [ $# -gt 2 ]; do
--reset-mbr|--resetmbr)
resetmbr=1
;;
+ --mactel)
+ mactel=1
+ ;;
--extra-kernel-args)
kernelargs=$2
shift
@@ -237,12 +292,18 @@ if [ -z "$noverify" ]; then
fi
# do some basic sanity checks.
-checkSyslinuxVersion
-checkFilesystem $USBDEV
-checkPartActive $USBDEV
-checkMBR $USBDEV
checkMounted $USBDEV
-[ -n $resetmbr ] && resetMBR $USBDEV
+if [ -z "$mactel" ]; then
+ checkSyslinuxVersion
+ checkPartActive $USBDEV
+ [ -n "$resetmbr" ] && resetMBR $USBDEV
+ checkMBR $USBDEV
+else
+ [ -n "$resetmbr" ] && createGPTLayout $USBDEV
+ checkGPT $USBDEV
+fi
+checkFilesystem $USBDEV
+
if [ -n "$overlaysizemb" -a "$USBFS" = "vfat" ]; then
if [ "$overlaysizemb" -gt 2047 ]; then
@@ -262,7 +323,7 @@ fi
CDMNT=$(mktemp -d /media/cdtmp.XXXXXX)
mount -o loop,ro "$ISO" $CDMNT || exitclean
USBMNT=$(mktemp -d /media/usbdev.XXXXXX)
-mount $USBDEV $USBMNT || exitclean
+mount $mountopts $USBDEV $USBMNT || exitclean
trap exitclean SIGINT SIGTERM
@@ -314,9 +375,10 @@ if [ -d $USBMNT/LiveOS ]; then
fi
echo "Copying live image to USB stick"
-if [ ! -d $USBMNT/$SYSLINUXPATH ]; then mkdir $USBMNT/$SYSLINUXPATH ; fi
-if [ ! -d $USBMNT/LiveOS ]; then mkdir $USBMNT/LiveOS ; fi
-if [ -n "$keephome" -a -f "$USBMNT/home.img" ]; then mv $USBMNT/home.img $USBMNT/LiveOS/home.img ; fi
+[ -z "$mactel" -a ! -d $USBMNT/$SYSLINUXPATH ] && mkdir -p $USBMNT/$SYSLINUXPATH
+[ -n "$mactel" -a ! -d $USBMNT/EFI/boot ] && mkdir -p $USBMNT/EFI/boot
+[ ! -d $USBMNT/LiveOS ] && mkdir $USBMNT/LiveOS
+[ -n "$keephome" -a -f "$USBMNT/home.img" ] && mv $USBMNT/home.img $USBMNT/LiveOS/home.img
# cases without /LiveOS are legacy detection, remove for F10
if [ -f $CDMNT/LiveOS/squashfs.img ]; then
cp $CDMNT/LiveOS/squashfs.img $USBMNT/LiveOS/squashfs.img || exitclean
@@ -331,12 +393,19 @@ if [ -f $CDMNT/LiveOS/osmin.img ]; then
cp $CDMNT/LiveOS/osmin.img $USBMNT/LiveOS/osmin.img || exitclean
fi
-cp $CDMNT/isolinux/* $USBMNT/$SYSLINUXPATH
+if [ -z "$mactel" ]; then
+ cp $CDMNT/isolinux/* $USBMNT/$SYSLINUXPATH
+ BOOTCONFIG=$USBMNT/$SYSLINUXPATH/isolinux.cfg
+else
+ cp $CDMNT/EFI/boot/* $USBMNT/EFI/boot
+ # this is a little ugly, but it gets the "interesting" named config file
+ BOOTCONFIG=$USBMNT/EFI/boot/boot?*.conf
+fi
echo "Updating boot config file"
# adjust label and fstype
-sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" $USBMNT/$SYSLINUXPATH/isolinux.cfg
-if [ -n "$kernelargs" ]; then sed -i -e "s/liveimg/liveimg ${kernelargs}/" $USBMNT/$SYSLINUXPATH/isolinux.cfg ; fi
+sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" $BOOTCONFIG
+if [ -n "$kernelargs" ]; then sed -i -e "s/liveimg/liveimg ${kernelargs}/" $BOOTCONFIG.cfg ; fi
if [ -n "$overlaysizemb" ]; then
echo "Initializing persistent overlay file"
@@ -347,10 +416,8 @@ if [ -n "$overlaysizemb" ]; then
else
dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE count=1 bs=1M seek=$overlaysizemb
fi
- sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" \
- $USBMNT/$SYSLINUXPATH/isolinux.cfg
- sed -i -e "s/\ ro\ /\ rw\ /" \
- $USBMNT/$SYSLINUXPATH/isolinux.cfg
+ sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" $BOOTCONFIG
+ sed -i -e "s/\ ro\ /\ rw\ /" $BOOTCONFIG
fi
if [ -n "$homesizemb" ]; then
@@ -381,7 +448,11 @@ if [ -n "$homesizemb" ]; then
fi
echo "Installing boot loader"
-if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
+if [ -n "$mactel" ]; then
+ # replace the ia32 hack
+ if [ -f "$USBMNT/EFI/boot/boot.conf" ]; then cp -f $USBMNT/EFI/boot/bootia32.conf $USBMNT/EFI/boot/boot.conf ; fi
+ cleanup
+elif [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
# syslinux expects the config to be named syslinux.cfg
# and has to run with the file system unmounted
mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg
15 years, 10 months
Spin SIG meeting (Tue Jun 10, 18:00 UTC)
by Jeroen van Meeuwen
Hello there,
I would like the Spin SIG members, current spin maintainers and other
enthusiasts to get together in #fedora-meeting at Tuesday, June 10th, at
18:00 UTC, so you are hereby invited to join us.
There's several items on the Agenda.
- How come we did not have Fedora 9 Spins of:
- XFCE
- Electronic Lab
- Games
- Developer
The Electronic Lab does have a certain amount of people interested but
no one "accountable" maintainer, while there was a lot of exposure,
whereas the Developer spin did not get any maintenance, afaics.
Regardless, we will need to contact maintainers during the Alpha-Beta
time-frame to update their spins, or come up with a policy/guideline for
the maintainers to hold on to.
- Drafted policies
I've submitted the drafted policies[1] for the Spin SIG to -devel, but
they did not get much feedback. We need to determine if they are
sufficient to enter the F10 development/release cycle with.
- The release process / spin process
Right now, we put in a request at the Release Engineering Team[2] to
have certain spins spun. This may or may not be "golden" spins, but
regardless, I think we prefer to trigger building our own spins, and
then hand one over to Release Engineering, that can be released. Let's
talk about this at our meeting.
- Updates to kickstarts are submitted... where?
I think the spin-kickstarts GIT repository at fedorahosted.org[3] needs
to have the latest kickstarts, whereas now developments still take place
in the livecd-tools GIT repository at fedorahosted.org[4]. I've tried to
come up with a branching policy that makes development go into the
master branch, which we branch off for maintenance purposes every
release. I've also been thinking about a commit access policy, and I
think having commit access for at least the primary maintainers of each
spin makes the most sense.
- kickstarts RPM package for "Home Use"
A review request has been submitted for a "spin-kickstarts" package[5],
which I'd like you to look at and give some feedback on. This is to
enable people getting approved (by Spin SIG and Board) kickstarts to
their own computers in a controllable fashion.
If you have any other topics you want to discuss at the meeting, please
let me know; there's a bunch of kickstarts from Rahul that need
reviewing as well[6].
I hope to see you all so that we can accomplish something (and a little
more). I'm also planning to have a HackFest/BarCamp session at FUDCon in
Boston[7], in two weeks.
Kind regards,
Jeroen van Meeuwen
-kanarip
[1] http://fedoraproject.org/wiki/SIGs/Spins
[2] https://fedorahosted.org/rel-eng/ticket/24
[3] http://git.fedorahosted.org/git/?p=spin-kickstarts.git
[4] http://git.fedorahosted.org/git/?p=livecd
[5] https://bugzilla.redhat.com/show_bug.cgi?id=448072
[6] http://fedoraproject.org/wiki/SIGs/Spins/Agenda
[7] http://fedoraproject.org/wiki/FUDCon/FUDConF10
15 years, 10 months
docs/livecd-creator.pod docs/livecd-iso-to-disk.pod livecd-tools.spec Makefile
by Jeremy Katz
Makefile | 11 ++++-
docs/livecd-creator.pod | 90 ++++++++++++++++++++++++++++++++++++++++++++
docs/livecd-iso-to-disk.pod | 49 +++++++++++++++++++++++
livecd-tools.spec | 2
4 files changed, 150 insertions(+), 2 deletions(-)
New commits:
commit 8e52f40908797a5508c38558e26bc52780d4d117
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Jun 9 11:51:57 2008 -0400
Add man pages contributed by Pedro Silva <pedrofsilva AT netcabo DOT pt>
Add man pages for livecd-creator and livecd-iso-to-disk as contributed
by Pedro Silva and then add the necessary build gunk so that they should
get built and installed
diff --git a/Makefile b/Makefile
index 4ac33b5..a8d8659 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,12 @@ PYTHONDIR := $(shell python -c "import distutils.sysconfig as d; print d.get_pyt
all:
-install:
+man:
+ pod2man --section=8 --release="livecd-tools $(VERSION)" --center "LiveCD Tools" docs/livecd-creator.pod > docs/livecd-creator.8
+ pod2man --section=8 --release="livecd-tools $(VERSION)" --center "LiveCD Tools" docs/livecd-iso-to-disk.pod > docs/livecd-iso-to-disk.8
+
+
+install: man
$(INSTALL_PROGRAM) -D tools/livecd-creator $(DESTDIR)/usr/bin/livecd-creator
$(INSTALL_PROGRAM) -D tools/image-creator $(DESTDIR)/usr/bin/image-creator
$(INSTALL_PROGRAM) -D tools/livecd-iso-to-disk.sh $(DESTDIR)/usr/bin/livecd-iso-to-disk
@@ -29,6 +34,8 @@ install:
mkdir -p $(DESTDIR)/$(PYTHONDIR)/imgcreate
$(INSTALL_PYTHON) -D imgcreate/*.py $(DESTDIR)/$(PYTHONDIR)/imgcreate/
$(call COMPILE_PYTHON,$(DESTDIR)/$(PYTHONDIR)/imgcreate)
+ mkdir -p $(DESTDIR)/usr/share/man/man8
+ $(INSTALL_DATA) -D docs/*.8 $(DESTDIR)/usr/share/man/man8
uninstall:
rm -f $(DESTDIR)/usr/bin/livecd-creator
@@ -40,4 +47,4 @@ dist : all
git-archive --format=tar --prefix=livecd-tools-$(VERSION)/ HEAD | bzip2 -9v > livecd-tools-$(VERSION).tar.bz2
clean:
- rm -f *~ creator/*~ installer/*~ config/*~
+ rm -f *~ creator/*~ installer/*~ config/*~ docs/*.8
diff --git a/docs/livecd-creator.pod b/docs/livecd-creator.pod
new file mode 100644
index 0000000..dcaddc7
--- /dev/null
+++ b/docs/livecd-creator.pod
@@ -0,0 +1,90 @@
+=pod
+
+=head1 NAME
+
+livecd-creator, creates live cd or dvd images.
+
+=head1 SYNOPSIS
+
+B<livecd-creator> [OPTIONS]
+
+=head1 DESCRIPTION
+
+B<livecd-creator> creates live cd or dvd images from kickstart files. Kickstart files contain the information about packages and configurations that are built into the image.
+
+=head1 OPTIONS
+
+=over 4
+
+=item -h, --help
+
+Shows a help message and exits.
+
+=back
+
+=head1 IMAGE OPTIONS
+
+These options define the created image.
+
+=over 4
+
+=item -c KSCFG, --config=KSCFG
+
+Path to kickstart config file
+
+=item -b BASE_ON, --base-on=BASE_ON
+
+Add packages to an existing live CD iso9660 image.
+
+=item -f FS_LABEL, --fslabel=FS_LABEL
+
+File system label (default based on config name)
+
+=back
+
+=head1 SYSTEM DIRECTORY OPTIONS
+
+These options define directories used on your system for creating the live image
+
+=over 4
+
+=item -t TMPDIR, --tmpdir=TMPDIR
+
+Temporary directory to use (default: /var/tmp)
+
+=item --cache=CACHEDIR
+
+Cache directory to use (default: private cache)
+
+=back
+
+=head1 EXAMPLES
+
+Barebones LiveCD
+
+livecd-creator \
+--config=/usr/share/livecd-tools/livecd-fedora-minimal.ks
+
+Fedora Desktop Live CD
+
+livecd-creator \
+--config=/usr/share/livecd-tools/livecd-fedora-desktop.ks \
+--fslabel=Fedora9-LiveCD-foo
+
+=head1 CONTRIBUTORS
+
+David Zeuthen, Jeremy Katz, Douglas McClendon and a team of many other contributors. See the AUTHORS file in the source distribution for the complete list of credits.
+
+=head1 BUGS
+
+Report bugs to the mailing list C<http://www.redhat.com/mailman/listinfo/fedora-livecd-list> or directly to BugZilla C<http://bugzilla.redhat.com/bugzilla/> against the C<Fedora> product, and the C<livecd-tools> component.
+
+=head1 COPYRIGHT
+
+Copyright (C) Fedora Project 2008, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
+
+=head1 SEE ALSO
+
+C<livecd-iso-to-disk(1)>, project website C<http://fedoraproject.org/wiki/FedoraLiveCD>
+
+=cut
\ No newline at end of file
diff --git a/docs/livecd-iso-to-disk.pod b/docs/livecd-iso-to-disk.pod
new file mode 100644
index 0000000..ffe9add
--- /dev/null
+++ b/docs/livecd-iso-to-disk.pod
@@ -0,0 +1,49 @@
+=pod
+
+=head1 NAME
+
+livecd-iso-to-disk, install livecd-creator images in usb stick
+
+=head1 SYNOPSIS
+
+B<livecd-iso-to-disk> [--reset-mbr] [--noverify] [--overlay-size-mb <size>] <isopath> <usbstick device>
+
+=head1 DESCRIPTION
+
+B<livecd-iso-to-disk> converts a live cd or dvd image into a bootable USB stick. This is not a destructive process; any data you currently have on your USB stick will be preserved.
+
+=head1 OPTIONS
+
+=over 4
+
+=item --reset-mbr
+
+Resets Master Boot Record of usb stick by copying syslinux's mbr.bin.
+
+=item --noverify
+
+Disables image validation before installing it.
+
+=item --overlay-size-mb
+
+Overlay's size in megabytes. Note that you'll need to have space on your USB stick for the live image plus your overlay plus any other data you want on the stick.
+
+=back
+
+=head1 CONTRIBUTORS
+
+David Zeuthen, Jeremy Katz, Douglas McClendon and a team of many other contributors. See the AUTHORS file in the source distribution for the complete list of credits.
+
+=head1 BUGS
+
+Report bugs to the mailing list C<http://www.redhat.com/mailman/listinfo/fedora-livecd-list> or directly to BugZilla C<http://bugzilla.redhat.com/bugzilla/> against the C<Fedora> product, and the C<lived-tools> component.
+
+=head1 COPYRIGHT
+
+Copyright (C) Fedora Project 2008, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
+
+=head1 SEE ALSO
+
+C<livecd-creator(1)>, project website C<http://fedoraproject.org/wiki/FedoraLiveCD>
+
+=cut
diff --git a/livecd-tools.spec b/livecd-tools.spec
index f6a5ef1..ce4fea8 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -27,6 +27,7 @@ Requires: syslinux
Requires: yaboot
%endif
BuildRequires: python
+BuildRequires: /usr/bin/pod2man
%description
@@ -50,6 +51,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README HACKING
+%{_mandir}/man*/*
%{_bindir}/livecd-creator
%{_bindir}/livecd-iso-to-disk
%{_bindir}/livecd-iso-to-pxeboot
15 years, 10 months
Strange F9 networking problem after LCD install
by Philip Rhoades
People,
I had problems installing from the iso one hard disk to another HD after
booting from an existing F8 setup so I did a F9 LiveCD install (I never
had problems installing from HD for previous F versions). I have a line in:
/etc/inittab
which is:
SV:123456:respawn:/command/svscanboot
but it doesn't work and I have to manually run it after the boot finishes.
Any ideas why it does not run automatically during the boot?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil(a)pricom.com.au
15 years, 10 months
New livecd-iso-to-disk man page.
by Pedro Silva
Hi!
Attached is the new version of livecd-iso-to-disk's man page written in
POD. I followed Daniel and Jeremy's guidelines and example files to put
more information into the man page.
I used "pod2man livecd-iso-to-disk.pod | groff -man -Tascii" to review
my work.
Please review it for errors, specially the Copyright section, I don't
know if I got it right.
Next up, livecd-creator's man page.
Best regards,
--
Pedro Silva
15 years, 10 months
livecd-creator man page
by Pedro Silva
Hi!
Attached is the initial release of livecd-creator's man page.
As always, comments and feedback are welcome.
Best regards,
--
Pedro Silva
15 years, 10 months
livecd-creator breaks NIS?
by Brian Cain
I haven't tracked down all of the details yet, but I think installing
yp-tools into the chrooted livecd environment wreaks some kind of havoc on
the invoking system's yp setup. It seems to take a ypbind restart before
things recover. Before I take a deeper look, has anyone else experienced
this?
--
-Brian
15 years, 10 months