Re: Pungi and a minimal F9 - anaconda-runtime/buildinstall errors

2008-07-29 Thread Jesse Keating
On Wed, 2008-07-30 at 12:20 +1200, Martin Langhoff wrote:
> 70, in _doRunCommand
> raise OSError, "Got an error from %s: %s" % (command[0], err)
> OSError: Got an error from /usr/lib/anaconda-runtime/buildinstall:
> 
> installed versions of the relevant tools are -

Please check the .log file in your output/logs/ directory, so that
you can get the actual output from buildinstall.

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!


signature.asc
Description: This is a digitally signed message part
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Re: Pungi and a minimal F9 - anaconda-runtime/buildinstall errors

2008-07-29 Thread Martin Langhoff
On Wed, Jul 30, 2008 at 1:39 PM, Jesse Keating <[EMAIL PROTECTED]> wrote:
> Please check the .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
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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


Re: Pungi and a minimal F9 - anaconda-runtime/buildinstall errors

2008-07-29 Thread Martin Langhoff
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
[EMAIL PROTECTED]
bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles
anaconda-runtime
-gnome*
-cairo
-xorg-x11-server-Xorg

%end

cheers,




martin
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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


Re: Pungi and a minimal F9 - anaconda-runtime/buildinstall errors

2008-07-30 Thread Martin Langhoff
On Wed, Jul 30, 2008 at 4:59 PM, Martin Langhoff
<[EMAIL PROTECTED]> 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
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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