Hi all,
I have collected few backport patches for EPEL5 livecd, they're at http://repo.or.cz/w/livecd/EPEL5.git from tag livecd-tools-013-8.1-EPEL5-patches onwards.
Please have a look, they're low risk and work for me. I'd like to push them to EPEL CVS if no objections.
NB: the last one "add --global-config to use YUM global config" is a new feature which I'll post here for review shortly: http://repo.or.cz/w/livecd/EPEL5.git?a=commitdiff;h=65cea964999ac10d5f6660bc...
Alan Pevec wrote:
Hi all,
I have collected few backport patches for EPEL5 livecd, they're at http://repo.or.cz/w/livecd/EPEL5.git from tag livecd-tools-013-8.1-EPEL5-patches onwards.
Please have a look, they're low risk and work for me. I'd like to push them to EPEL CVS if no objections.
Are these all backported fixes or are you adding more incompatible changes like the one below? I would like new features to be reviewed and accepted in the HEAD first and then backported to what lives in EPEL.
Rahul
NB: the last one "add --global-config to use YUM global config" is a new feature which I'll post here for review shortly: http://repo.or.cz/w/livecd/EPEL5.git?a=commitdiff;h=65cea964999ac10d5f6660bc...
Rahul Sundaram wrote:
Alan Pevec wrote:
Hi all,
I have collected few backport patches for EPEL5 livecd, they're at http://repo.or.cz/w/livecd/EPEL5.git from tag livecd-tools-013-8.1-EPEL5-patches onwards.
Please have a look, they're low risk and work for me. I'd like to push them to EPEL CVS if no objections.
Are these all backported fixes or are you adding more incompatible
all but last one are backports
changes like the one below? I would like new features to be reviewed and accepted in the HEAD first and then backported to what lives in EPEL.
yes, sorry if I wasn't clear, only backports go to EPEL CVS
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
* Create a live cd image * Use livecd-iso-to-disk script to convert the image into a bootable live USB * image-creator creates a ext3 image
All fixes should be in HEAD first because incompatible changes are a headache when you add dependencies on them and you get to pick whether you want to keep them or move to the EL 6 branch when one gets created in the future.
Thanks for working on this.
Rahul
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable
live USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
Rahul.. what do you normally do for #3?
-- bk
xconfig --startxonboot timezone America/New_York selinux --disable # Add an rhx repo and an updates repo repo --name=epel --baseurl=http://download.fedora.redhat.com/pub/epel/5Server/i386/ repo --name=rhelWS --baseurl=http://porkchop.devel.redhat.com/released/RHEL-5-Client/U2/i386/os/Workstati... repo --name=rhelclient --baseurl=http://porkchop.devel.redhat.com/released/RHEL-5-Client/U2/i386/os/Client/ repo --name=rhelt --baseurl=http://porkchop.devel.redhat.com/released/RHEL-5-Client/U2/i386/os/VT/
%packages @gnome-desktop @base-x @base @core @admin-tools @dial-up @hardware-support @printing -selinux-* -gphoto2 -kpartx -firstboot -firstboot-tui -system-config-lvm -rhn-* -vnc-server -nautilus-cd-burner -yum-rhn-plugin -festival-*
%post # Make a pretty login page cp /opt/liveDVD/background.jpg /usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg
# In the live cd, this is done in the init.d file # FIXME: it'd be better to get this installed from a package cat > /etc/rc.d/init.d/fedora-live << EOF #!/bin/bash # # live: Init script for live image # # chkconfig: 345 00 99 # description: Init script for live image.
. /etc/init.d/functions
if ! strstr "`cat /proc/cmdline`" liveimg || [ "$1" != "start" ] || [ -e /.liveimg-configured ] ; then exit 0 fi
exists() { which $1 >/dev/null 2>&1 || return $* }
touch /.liveimg-configured
# mount live image if [ -b /dev/live ]; then mkdir -p /mnt/live mount -o ro /dev/live /mnt/live fi
# configure X exists system-config-display --noui --reconfig --set-depth=24
# unmute sound card exists alsaunmute 0 2> /dev/null
# add notes user with no passwd useradd -c "Live Demo" liveuser passwd -d liveuser > /dev/null # Give notes ownership of the liveuser home dir chown -R liveuser /home/liveuser # disable screensaver locking gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null # set up timed auto-login for after 60 seconds sed -i -e 's/[daemon]/[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=liveuser\n/' /etc/gdm/custom.conf 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 # TODO: would be nice to get e-d-s to pick this one up too... but how? fi # turn off firstboot for livecd boots echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# don't start yum-updatesd for livecd boots chkconfig --level 345 yum-updatesd off
# don't start cron/at as they tend to spawn things which are # disk intensive that are painful on a live image /sbin/chkconfig --level 345 crond off /sbin/chkconfig --level 345 atd off /sbin/chkconfig --level 345 anacron off /sbin/chkconfig --level 345 readahead_early off /sbin/chkconfig --level 345 readahead_later off
# Stopgap fix for RH #217966; should be fixed in HAL instead touch /media/.hal-mtab EOF
chmod 755 /etc/rc.d/init.d/fedora-live /sbin/restorecon /etc/rc.d/init.d/fedora-live /sbin/chkconfig --add fedora-live
# Add a little but more space rm -rf /boot/initrd*
Bryan Kearney wrote:
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable
live USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
Rahul.. what do you normally do for #3?
-- bk
I verified the livecd-iso-to-disk on a rhel 5.2 machine. Worked fine for me.
-- bk
Bryan Kearney wrote:
Bryan Kearney wrote:
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable
live USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
Rahul.. what do you normally do for #3?
-- bk
I verified the livecd-iso-to-disk on a rhel 5.2 machine. Worked fine for me.
While lacking a EL-5 branch in the upstream livecd-tools git repo, I've created a GIT repo at http://git.kanarip.com/?p=livecd;a=summary or more specifically http://git.kanarip.com/?p=livecd;a=shortlog;h=EL-5 with the appropriate patches applied.
I've successfully built the package locally using make dist and rpmbuild -ta livecd-tools-013.1.tar.bz2, can someone else verify this works?
Kind regards,
Jeroen van Meeuwen -kanarip
Jeroen van Meeuwen wrote:
Bryan Kearney wrote:
Bryan Kearney wrote:
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable
live USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
Rahul.. what do you normally do for #3?
-- bk
I verified the livecd-iso-to-disk on a rhel 5.2 machine. Worked fine for me.
While lacking a EL-5 branch in the upstream livecd-tools git repo, I've created a GIT repo at http://git.kanarip.com/?p=livecd;a=summary or more specifically http://git.kanarip.com/?p=livecd;a=shortlog;h=EL-5 with the appropriate patches applied.
I checked out and built the code from the repo. I did a similar test to what was done with apevecs code... built a livecd and launched it in virt-manager... and movved it to a usb stick using livecd-iso-to-disk. All worked for me. I had one small set of changes (tabs, spaces) which I will send along in another email.
-- bk
On Thu, Oct 30, 2008 at 8:56 AM, Bryan Kearney bkearney@redhat.com wrote:
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable live
USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
I tried this on my Centos5.2 box. I have some issues with the build. I have NIS authentication enabled on my box and when I build it somehow disables the authentication to the point that my desktop environment is non-functional.
The image, using a kickstart that does not have anything in post only has the boot to local disk in the menu.
Second pass I used the kickstart from below except I used my local RHEL5 x86_64 repo. This fails to complete the boot process.
Am I to expect this to function correctly on RHEL5 and similar platform?
xconfig --startxonboot timezone America/New_York selinux --disable # Add an rhx repo and an updates repo repo --name=epel --baseurl=http://download.fedora.redhat.com/pub/epel/5Server/i386/ repo --name=rhelWS --baseurl=http://porkchop.devel.redhat.com/released/RHEL-5-Client/U2/i386/os/Workstati... repo --name=rhelclient --baseurl=http://porkchop.devel.redhat.com/released/RHEL-5-Client/U2/i386/os/Client/ repo --name=rhelt --baseurl=http://porkchop.devel.redhat.com/released/RHEL-5-Client/U2/i386/os/VT/
%packages @gnome-desktop @base-x @base @core @admin-tools @dial-up @hardware-support @printing -selinux-* -gphoto2 -kpartx -firstboot -firstboot-tui -system-config-lvm -rhn-* -vnc-server -nautilus-cd-burner -yum-rhn-plugin -festival-*
%post # Make a pretty login page cp /opt/liveDVD/background.jpg /usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg
# In the live cd, this is done in the init.d file # FIXME: it'd be better to get this installed from a package cat > /etc/rc.d/init.d/fedora-live << EOF #!/bin/bash # # live: Init script for live image # # chkconfig: 345 00 99 # description: Init script for live image.
. /etc/init.d/functions
if ! strstr "`cat /proc/cmdline`" liveimg || [ "$1" != "start" ] || [ -e /.liveimg-configured ] ; then exit 0 fi
exists() { which $1 >/dev/null 2>&1 || return $* }
touch /.liveimg-configured
# mount live image if [ -b /dev/live ]; then mkdir -p /mnt/live mount -o ro /dev/live /mnt/live fi
# configure X exists system-config-display --noui --reconfig --set-depth=24
# unmute sound card exists alsaunmute 0 2> /dev/null
# add notes user with no passwd useradd -c "Live Demo" liveuser passwd -d liveuser > /dev/null # Give notes ownership of the liveuser home dir chown -R liveuser /home/liveuser # disable screensaver locking gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null # set up timed auto-login for after 60 seconds sed -i -e 's/[daemon]/[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=liveuser\n/' /etc/gdm/custom.conf 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 # TODO: would be nice to get e-d-s to pick this one up too... but how? fi # turn off firstboot for livecd boots echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# don't start yum-updatesd for livecd boots chkconfig --level 345 yum-updatesd off
# don't start cron/at as they tend to spawn things which are # disk intensive that are painful on a live image /sbin/chkconfig --level 345 crond off /sbin/chkconfig --level 345 atd off /sbin/chkconfig --level 345 anacron off /sbin/chkconfig --level 345 readahead_early off /sbin/chkconfig --level 345 readahead_later off
# Stopgap fix for RH #217966; should be fixed in HAL instead touch /media/.hal-mtab EOF
chmod 755 /etc/rc.d/init.d/fedora-live /sbin/restorecon /etc/rc.d/init.d/fedora-live /sbin/chkconfig --add fedora-live
# Add a little but more space rm -rf /boot/initrd*
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
I tried this on my Centos5.2 box. I have some issues with the build. I have NIS authentication enabled on my box and when I build it somehow disables the authentication to the point that my desktop environment is non-functional.
I see that the install_root is still busy if I'm running nscd on the build system (rawhide in my case), which causes many problems. I make sure to stop it before running livecd-creator. Probably should report a bug...
- Orion
Larry Brigman wrote:
On Thu, Oct 30, 2008 at 8:56 AM, Bryan Kearney bkearney@redhat.com wrote:
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable live
USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
I tried this on my Centos5.2 box. I have some issues with the build. I have NIS authentication enabled on my box and when I build it somehow disables the authentication to the point that my desktop environment is non-functional.
Sound like you might be getting bit by this:
https://bugzilla.redhat.com/show_bug.cgi?id=457697
--Wart
On Mon, Nov 3, 2008 at 8:27 AM, Wart wart@kobold.org wrote:
Larry Brigman wrote:
On Thu, Oct 30, 2008 at 8:56 AM, Bryan Kearney bkearney@redhat.com wrote:
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable live
USB
- image-creator creates a ext3 image
I executed the first 2 using the attached kickstart file. I got a few warnings at boot up, but the images do work. Note.. the second one I did running the livecd-iso-to-disk from an F9 machine.
I tried this on my Centos5.2 box. I have some issues with the build. I have NIS authentication enabled on my box and when I build it somehow disables the authentication to the point that my desktop environment is non-functional.
Sound like you might be getting bit by this:
It looks like its going to bite me on RHEL5/CentOS5 as the repos don't have access to that new of a version of authconfig.
Rahul Sundaram wrote:
Alan Pevec wrote:
yes, sorry if I wasn't clear, only backports go to EPEL CVS
OK. Great. I am working remotely for a while without access to a EL system and I am running rawhide on my laptop for quite sometime. The connection is decent but not enough to start downloading new complete images easily so can't really test this at the moment but you can go ahead and commit those changes if you (or others) have tested that the following works correctly:
- Create a live cd image
- Use livecd-iso-to-disk script to convert the image into a bootable
live USB
- image-creator creates a ext3 image
Rahul:
Do you do anything special for this final test, or just run and mount the filesystem?
-- bk
livecd@lists.fedoraproject.org