Re: Manual pages for rescue.

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

 



Jeremy Katz wrote:
On Mon, 2008-02-11 at 17:30 +0100, Joel Andres Granados wrote:
But I have come today to correct my little mistake :)  What I have
done is made use of the /mnt/sysimage man executables (groff, iconv,
nroff...) with links from the image.  in this way we don't add to the
initrd.img and the manpages can work in both chrooted and non-chrooted
environments.  Patch is attached.

How consistent is man.config?

Well, If you have a man page in a nonstandard place, obviously it wont be found when searched by man.  I'm pretty confident that the file takes care of what is needed in rescue.  Additionally, with this approach, we do what we were doing with the MANPATH env var and a little bit more.  If you look closely into the man.config file there are two lines:
....
MANPATH /usr/share/man
MANPATH /usr/local/share/man
....
they contain the information that we hard coded into the rescue.py file when we set the MANPATH env var.  Additionally it contains other dirs that might be useful (when user needs a strange man not contained in the previous dirs).
Moreover for the sed to fail over, the man.config would have to erase these two line.  And if these two lines are changed the setting of the MANPATH in rescue.py would fail over anyway (because the place where the manpages are held would change), so I think we are pretty safe taking info from the file.

The sed worries me a little just in that
it could fail over time, but I'm willing to go with it

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--
Joel Andres Granados
Red Hat / Brno, Czech Republic

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[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