Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Pungi and a minimal F9 - anaconda-runtime/buildinstall errors (http://www.linux-archive.org/fedora-build-system/134129-pungi-minimal-f9-anaconda-runtime-buildinstall-errors.html)

"Martin Langhoff" 07-30-2008 04:09 AM

Pungi and a minimal F9 - anaconda-runtime/buildinstall errors
 
On Wed, Jul 30, 2008 at 1:39 PM, Jesse Keating <jkeating@redhat.com> wrote:
> Please check the <arch>.log file in your output/logs/ directory, so that
> you can get the actual output from buildinstall.

Good hint, thanks. Missing anaconda-runtime it seems.

Pungi.Pungi.DEBUG: Running buildinstall...
/tmp/buildinstall.tree.7NRF8R /tmp
No Match for argument anaconda-runtime
Nothing to download

adding anaconda-runtime makes things work. I end up with a 700MB DVD
and 2 CD images, as apparently Gnome gets pulled in. Perhaps @base
contains Gnome. I might need to say '--nobase'.

Retrying... further hints as to how to build a minimal cli F9
installer ISO welcome...


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

"Martin Langhoff" 07-30-2008 04:59 AM

Pungi and a minimal F9 - anaconda-runtime/buildinstall errors
 
Getting closer :-) With the following ks I get a 208MB iso that boots
into anaconda. Anaconda, however, says "The Fedora disk was not found
in any of your CDROM drives. Please insert the Fedora disk and press
OK to retry."

What does anaconda look for?

$ cat kickstarts/pungi-f9-minimal.ks
repo --name=release
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
repo --name=updates
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch

%packages --nobase
##@core
bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles
anaconda-runtime
-gnome*
-cairo
-xorg-x11-server-Xorg

%end

cheers,




martin
--
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

"Martin Langhoff" 07-30-2008 07:31 AM

Pungi and a minimal F9 - anaconda-runtime/buildinstall errors
 
On Wed, Jul 30, 2008 at 4:59 PM, Martin Langhoff
<martin.langhoff@gmail.com> wrote:
> Getting closer :-) With the following ks I get a 208MB iso that boots
> into anaconda. Anaconda, however, says "The Fedora disk was not found
> in any of your CDROM drives. Please insert the Fedora disk and press
> OK to retry."
>
> What does anaconda look for?

After a long tour of the latest anaconda sources from git, and reading
how cdinstall.c setupCdrom() - seems to trawl the /images/ directory
looking for stage2.img , I find that the /images directory is missing.

Pungi/anaconda had bailed out on me due to unresolved dependencies,
duly noted in the log/$arch.log file, so I was using a broken,
incomplete img. Commenting out the lines that blocked cairo,X.org and
gnome from getting into the build gets me a working installer CD that
weighs 471MB.

So the minimal F9 I can get without starting to splice packages is
471MB, with the following ks:

repo --name=release
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
repo --name=updates
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch

%packages --nobase
bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles
anaconda-runtime

%end

What approach should I take to get a headless system without breaking
anaconda? This task has no use for X, cairo or gnome :-)

For example. anaconda and anaconda-runtime pull in

- rhpxl, cairo, gtk2, zenity, xorg-x11-font-utils - useful for
anaconda's graphical installer
- desktop-file-utils -- why?
- gnome-python2-gtkhtml2 -- why?

About 1/3 or more of the 1st install CD seems to go to Anaconda's
graphics lust :-)


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


All times are GMT. The time now is 12:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.