FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 09-03-2008, 01:21 AM
"Martin Langhoff"
 
Default Pungi kickstart packages - stage2 deps vs instaled pkgs

Perhaps this is by design: the "build tools" dependencies
(anaconda-runtime an friends) which end up in stage2 AFAICS need to be
listed (and their dependencies met) in the main packages listing in
the kickstart file.

Is there a way to control those package listings separately? As a
(trivial) example, we end up with an anaconda-runtime rpm in the iso,
which we are not interested in...

cheers,



m
--
martin.langhoff@gmail.com
martin@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-03-2008, 06:38 AM
Jesse Keating
 
Default Pungi kickstart packages - stage2 deps vs instaled pkgs

On Wed, 2008-09-03 at 13:21 +1200, Martin Langhoff wrote:
> Perhaps this is by design: the "build tools" dependencies
> (anaconda-runtime an friends) which end up in stage2 AFAICS need to be
> listed (and their dependencies met) in the main packages listing in
> the kickstart file.
>
> Is there a way to control those package listings separately? As a
> (trivial) example, we end up with an anaconda-runtime rpm in the iso,
> which we are not interested in...

This isn't the case with rawhide pungi. The need to have anaconda in
the manifest has been removed. It just has to be available in the repos
you are composing against.

--
Jesse Keating
Fedora -- Freedom˛ is a feature!
identi.ca: http://identi.ca/jkeating
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-03-2008, 06:47 AM
"Martin Langhoff"
 
Default Pungi kickstart packages - stage2 deps vs instaled pkgs

On Wed, Sep 3, 2008 at 6:38 PM, Jesse Keating <jkeating@redhat.com> wrote:
> This isn't the case with rawhide pungi.

Great to hear that - sounds like it'll be nice to build small ISOs. Is
the rawhide Pungi reasonably usable on F9?

cheers.


m
--
martin.langhoff@gmail.com
martin@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-03-2008, 09:42 AM
Jeroen van Meeuwen
 
Default Pungi kickstart packages - stage2 deps vs instaled pkgs

Martin Langhoff wrote:

On Wed, Sep 3, 2008 at 6:38 PM, Jesse Keating <jkeating@redhat.com> wrote:

This isn't the case with rawhide pungi.


Great to hear that - sounds like it'll be nice to build small ISOs. Is
the rawhide Pungi reasonably usable on F9?



I think not, because pungi uses the anaconda-runtime buildinstall script
in /usr/lib/anaconda-runtime/buildinstall.


However, if you install anaconda-runtime from rawhide on your Fedora 9
station (which should just work), then pungi from rawhide should be able
to run on the Fedora 9 station. I don't think however it's supported in
any way.


In any case, Revisor can already do what you're looking for on Fedora 9
genuine.


Kind regards,

Jeroen van Meeuwen
-kanarip

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-04-2008, 05:01 AM
"Martin Langhoff"
 
Default Pungi kickstart packages - stage2 deps vs instaled pkgs

On Wed, Sep 3, 2008 at 9:42 PM, Jeroen van Meeuwen <kanarip@kanarip.com> wrote:
> In any case, Revisor can already do what you're looking for on Fedora 9
> genuine.

Cool. I've spent a good part of today playing with your good Revisor.

I have a few questions, hopefully not too OT for fedora-buildsys (the
links to the revisor lists on
https://fedorahosted.org/revisor/wiki/Troubleshooting#Troubleshooting
seem to be dead, or the server down).

- Trying to build f9-i386 leads to dep errors -- only if I leave
fedora-updates enabled. The error is:
Missing Dependency: glibc-common = 2.8-3 is needed by package
glibc-2.8-3.i386 (fedora)

- I am adding a metapackage that pulls in beecrypt. But I get
depresolv errors about beecrypt -- even with debug=9 I can't see why
beecrypt would not be found. It's right there in the main F9 repo,
from which the depsolv process has already grabbed a all the other
packages.

How I'm running it:

$ sudo revisor --debug=9 --yes --cli --conf revisor/revisor.conf
--model f9-i386 --install-unified --kickstart-include
--kickstart-default --kickstart revisor/anaconda-f9.ks

The revisor-f9-i386.conf file has these additional repos:

[xs7]
name=XS 0.4 - i386
baseurl=http://fedora.laptop.org/xs/testing/olpc/7/i386
enabled=1
gpgcheck=0

[xs9]
name=XS 0.5 - i386
baseurl=http://fedora.laptop.org/xs/testing/olpc/9/i386
enabled=1
gpgcheck=0


and the kickstart file is as follows:

###
### Kickstart file for OLPC XS School Server software
###

### Make it interactive - so these are 'seed' values
interactive

# Provide some defaults
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
auth --useshadow --enablemd5
selinux --disabled
network --device eth0 --bootproto dhcp --hostname schoolserver

# We enable the firewall, even though we are going to overwrite
# what anaconda leaves behind
firewall --enabled

### X?
#skipx

## Enable/Disable some services up front
services --enabled=dhcdbd,network,sshd
--disabled=netfs,nfs,nfslock,rpcbind,rpcgssd,rpcidma pd,rpcsvcgssd

###
### disk partitioning...
###
# clear out sda without qualms...
clearpart --drives=sda

# Small Disk Support: (xs #7241)
# If space >~10GiB then the sizes are
# /boot 100 MiB
# / 8 GiB
# swap 2 GiB
# /library fills all remaining capicity
# If space is limited, partition sizes are reduced.
# Smallest supported capacity is ~5GiB when no livecd-creator
--uncompressed-size argument is
# specified (defaults to 4096).
# Using livecd-creator --uncompressed-size=2048 allows installation on
~3GiB disks (not tested yet).
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
clearpart --linux --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
part / --fstype ext3 --size=2048 --maxsize=8192 --grow --ondisk=sda
# size of pv.6 must be at least enough to fit /library size and swap size
part pv.6 --size=1025 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.6
# Kickstart raises an error if logvol --size=0
logvol /library --fstype ext3 --name=LogVol00 --vgname=VolGroup00
--size=1 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00
--size=1024 --maxsize=2048 --grow

%packages --nobase

# School server core services metapackage
xs-pkgs
xs-config

bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles
@admin-tools
-gnome-packagekit

%end

%post

# turn off firstboot for XS builds
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot

%end

cheers,




m
--
martin.langhoff@gmail.com
martin@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 04:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org