Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 158786 Details for
Bug 243374
installation from live-image still doesnt work
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
config file used
200706290800-livecd-xs-installer.ks (text/plain), 6.94 KB, created by
Holger Levsen
on 2007-07-09 16:56:30 UTC
(
hide
)
Description:
config file used
Filename:
MIME Type:
Creator:
Holger Levsen
Created:
2007-07-09 16:56:30 UTC
Size:
6.94 KB
patch
obsolete
>lang en_US.UTF-8 >keyboard us >timezone US/Eastern >auth --useshadow --enablemd5 >selinux --enforcing >firewall --disabled >repo --name=f7 --baseurl=http://fedora.laptop.org/fedora-linux-releases/7/Fedora/i386/os/ >repo --name=e7 --baseurl=http://fedora.laptop.org/fedora-linux-releases/7/Everything/i386/os/ >repo --name=e7 --baseurl=http://http://fedora.laptop.org/fedora-linux-updates/7/i386/ >repo --name=o7 --baseurl=http://fedora.laptop.org/olpc-local/i386/ > >#xconfig --startxonboot >services --enabled=NetworkManager,dhcdbd --disabled=network,sshd > >%packages ># basic desktop packages >@graphical-internet >@graphics >@sound-and-video >@gnome-desktop >@base-x >@games >@base >@core >@admin-tools >@dial-up >@hardware-support >@printing >syslinux >kernel > >scim* >-scim-devel >-scim-doc >-scim-qtimm >-scim-bridge-qt >-scim-skk >-scim-tomoe >-scim-tables-chinese >-scim-fcitx* >-scim-tables-additional >-scim-skk > >m17n-lib >m17n-db >#m17n-db-* > >fonts-* > ># dictionaries are big >-aspell-* >-m17n-db-* >-man-pages-* ># gimp help is huge >-gimp-help ># lose the compat stuff >-compat* > ># space sucks >-ekiga >-gnome-user-docs >-specspo >-esc >-samba-client >-a2ps >-vino >-redhat-lsb >-sox >-tomboy > ># smartcards won't really work on the livecd. and we _need_ space >-coolkey >-ccid > ># duplicate functionality >-pinfo >-vorbis-tools >-wget > > ># scanning takes quite a bit of space :/ >-xsane >-xsane-gimp > ># while hplip requires pyqt, it has to go >-hplip > ># added games >#monkey-bubble >#ppracer > ># we don't include @office so that we don't get OOo. but some nice bits >abiword >gnumeric >evince >-gnome-blog >-planner > ># lots of people want... >gparted >ntfs-3g >ntfsprogs > ># livecd bits to set up the livecd and be able to install >anaconda >anaconda-runtime >fai-client >git ># only temporaly: >cvs > ># make sure debuginfo doesn't end up on the live image >-*debuginfo > >%post ># 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 fedora user with no passwd >#useradd -c "Fedora Live" fedora >#passwd -d fedora > /dev/null ># 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 >#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 >chkconfig --level 345 crond off >chkconfig --level 345 atd off >chkconfig --level 345 anacron off >chkconfig --level 345 readahead_early off >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 > >cat > /root/liveinst.sh << 'EOF' >#!/bin/sh ># ># copied from $cvs/anaconda/liveinst/liveinst.sh - havent found it in an rpm ># ># Simple script to kick off an install from a live CD ># > >if [ -z "$LIVE_BLOCK" ]; then > LIVE_BLOCK="/dev/live-osimg" >fi > >if [ ! -b $LIVE_BLOCK ]; then > zenity --error --title="Not a Live image" --text "Can't do live image installation unless running from a live image" > exit 1 >fi > ># load modules that would get loaded by the loader... (#230945) >for i in md raid0 raid1 raid5 raid6 raid456 raid10 fat msdos lock_nolock gfs2 reiserfs jfs xfs dm-mod dm-zero dm-mirror dm-snapshot dm-multipath dm-round-robin dm-emc vfat ; do /sbin/modprobe $i ; done > >export ANACONDA_PRODUCTNAME="Fedora" >export ANACONDA_PRODUCTVERSION=$(rpm -q fedora-release --qf "%{VERSION}") >export ANACONDA_BUGURL="https://bugzilla.redhat.com/bugzilla/" > >export PATH=/sbin:/usr/sbin:$PATH > >if [ -z "$LANG" ]; then > LANG="en_US.UTF-8" >fi > ># eventually, we might want to allow a more "normal" install path >ANACONDA="/usr/sbin/anaconda --method=livecd://$LIVE_BLOCK --lang $LANG --kickstart=/root/anaconda-ks.cfg" >#ANACONDA="/usr/sbin/anaconda --method=livecd://$LIVE_BLOCK --lang $LANG" > >if [ -x /usr/sbin/setenforce -a -e /selinux/enforce ]; then > current=$(cat /selinux/enforce) > /usr/sbin/setenforce 0 >fi > >if [ -x /usr/bin/hal-lock ]; then > /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA" >else > $ANACONDA >fi > >if [ -n $current ]; then > /usr/sbin/setenforce $current >fi >EOF >chmod 755 /root/liveinst.sh >/sbin/restorecon /root/liveinst.sh >echo "sh /root/liveinst.sh" >> /etc/rc.local > > >cat > /root/anaconda-ks.cfg << 'EOF' ># Kickstart file automatically generated by anaconda. > >install >lang en_US.UTF-8 >keyboard de >xconfig --startxonboot >network --device eth0 --bootproto dhcp --hostname olpc-server >rootpw --iscrypted $1$Bf0Ag93M$weSucLBipI6jTjtolgZE61 >firewall --enabled --port=22:tcp >authconfig --enableshadow --enablemd5 >selinux --enforcing >timezone --utc America/New_York >bootloader --location=mbr --driveorder=sda --append="rhgb quiet" ># The following is the partition information you requested ># Note that any partitions you deleted are not expressed ># here so unless you clear all partitions first, this is ># not guaranteed to work >clearpart --linux --drives=sda >part /boot --fstype ext3 --size=100 --ondisk=sda >part pv.6 --size=0 --grow --ondisk=sda >volgroup VolGroup00 --pesize=32768 pv.6 >logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow >logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=512 --grow --maxsize=1024 >EOF > ># ># no manuall configuration after install ># >echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot > ># ># we need network^wdns to install stuff into the live-system ># >echo nameserver 18.85.2.138 > /etc/resolv.conf >echo nameserver 18.85.2.171 >> /etc/resolv.conf > ># ># fix for #242083 ># ># using cvs export is not as elegant as using an inline patch here... but if this works, its good enough ># >cd /usr/lib >export CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS >rm anaconda/installclass.py >cvs export -D 2007-06-05 anaconda/installclass.py > ># ># include fai config for installs without network ># >mkdir /var/lib/fai >git clone git://dev.laptop.org/projects/fai-config config > ># save a little bit of space at least... >rm -f /boot/initrd* >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 243374
:
158785
| 158786