Building dev images

John Richard Moser nigelenki at comcast.net
Mon Oct 9 22:49:20 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Right now I'm trying to get pilgrim to work and build good dev images on
a freshly installed Fedora Core 5 system.  There are a number of things
I need to do once I get this working.

  - First off, document it, because it's not on the wiki that I can
    find.

  - Get a list of the RPMs used to build the image

  - Script converting those RPM names to URIs of SRPMs

  - Rebuild those SRPMs (I hear there's this thing called 'mock' that
    helps with this en masse)

  - Make a stream to build using a local repository of rebuilt RPMs

  - Get a stream built of mine and of the original RPMs

Right now I'm getting things like:

install-info:  no such file or directory for /usr/share/info/sed.info.gz
error: %post(sed-4.1.5-5.fc6.i386) scriptlet failed, exit status 1

For a lot of things (sed, readline, cpio, cpp, gzip, findutils, tar...),
not sure why.  Last time I did this I got a bunch of empty directories
that should have contained images.

I figure once I get the building to actually work, I'll move on to
figuring out how to get a list of RPMs used, and then turn those into
URLs for SRPMs, and work from there.  Not sure where to start with this
though, the build.log has some stuff but it's cryptic and may be a
little challenging to parse.

Is there any documentation at all for this?  I know I'm not there yet;
but I'm primarily concerned with figuring out exactly what RPMs are used
(so I can build proper RPMs from SRPMs) and switching over to a local
repo (so I can build an image without an -O2 enabled optimization that I
believe may be problematic on the Geode and do some tests).

It'd also be interesting to me to get bootchart on this thing, possibly
in the devel images.  The chart produced is only 173K so a hack to get
it spit into a tmpfs (i.e. to avoid writing 3 extra blocks to NAND on
every boot) would be cool but that's getting into flaming optimizations.
- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

    Creative brains are a valuable, limited resource. They shouldn't be
    wasted on re-inventing the wheel when there are so many fascinating
    new problems waiting out there.
                                                 -- Eric Steven Raymond

    We will enslave their women, eat their children and rape their
    cattle!
                  -- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRSsKLgs1xW0HCTEFAQKdpBAAnEkDKWeNwPnG22KAc8PPe/AbCBpHBBQA
zNMSZ08rWsWNRm3HqNq7N8ToqCRovwU4/8QFnCKKir3ZFtGaKfsme/OoPqx0Xoz1
gt10jmYQSdEz/+mFGJIAJSIANm+7KArWZwnqFV9USaJO706HzddMH9vD49yLDy05
EHk7puk1jot61h8NLQgDOxw9HxJjgtRtCFHBBobUno/g/SC9z/h64g6D02Ln5iQH
50IFinUQZufjJ+5Z5rIYht4EGrw7t2vkDd9a8B8D5RNzgr2Oog5wTnwGq8YPa6xz
tVspKkmXp2VCXYg3I1AFl18FlgStwkfwEpSMtdtuEA7k8FgHYdJ9soVsG7FJMC/3
yJDhDzFXpnkgjmTTyZMYe9wxCL8KOKFof6mEmgCwMaw51wGa2sjBbZJ2D0gQcuLF
lgvh0oUDfhXxM1J0OGA4PvdQkfXFtHKxOBRJQw0mG/fwvMfvvxIq/+9ZeVwCBDTO
Hte17cq+N4T009Mjn/vHFYvoE8su8yqsdxK5egG4rYIpsFButEJNpVQkLFCo672Q
UKygYJqD1iF2alGhG6PqkOT0hd3idat3TeC2vUnPwTC/XBTY266uDxjg+X+nKjg1
3RP7wUROyC1dtFZG+9vPv4Pw7djSsMAgnB1RTOKcQtQOaM3r8HpH38c5I2v6bC2H
mk0wIhJPMNo=
=Qqov
-----END PGP SIGNATURE-----



More information about the Devel mailing list