Re: my attempt at really terse docs for building a custom distro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On Thursday 09 January 2003 07:56 am, Robert P. J. Day wrote:

> > $ rpm -q --whatrequires redhat-logos
> > firstboot-1.0.1-10
> > xscreensaver-4.05-6
> > redhat-artwork-0.47-3
>
> the only issue with this approach i can see is that it will show only
> requirements for RPMs that are actually installed on your current host.
> that is, if i didn't have xscreensaver installed, this command wouldn't
> list the xscreensaver RPM and i wouldn't be warned about not including
> that RPM in my new custom distro.

True enough. But if the rpmdb-redhat package is installed, you can querry 
all the packages shipped with the distro:
$ rpm -q --dbpath /usr/lib/rpmdb/i386-redhat-linux/redhat --whatrequires 
redhat-logos
redhat-artwork-0.47-3
xscreensaver-4.05-6
firstboot-1.0.1-10

(Or simply 'rpm -q --redhatrequires redhat-logos')

> p.s.  at what point in my construction of a new distro would i be
> warned about a dependency error?  i'm testing a new build as we
> speak, and i may deliberately introduce a dependency error just to
> see what happens.

As in a missing package? 
/usr/lib/anaconda-runtime/upd-instroot defines needed packages, and will 
complain about a missing package. I don't recall offhand if it terminates 
the build, however.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+HXhtn/07WoAb/SsRAlY/AJ4viqIcXUAvEZ3xusBXBNzDXeO6FACghmDj
3OZPJF+f4zKc8TGexygL97k=
=O22S
-----END PGP SIGNATURE-----





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux