[arch-dev-public] Fwd: Fix texinfo-based depcycles in core [Try 2]

Aaron Griffin aaronmgriffin at gmail.com
Tue Jan 27 15:48:48 EST 2009

EDIT: tpowa pointed out that 'which' does not exist at this point.
Convert to [ -x /usr/bin/install-info ] format, and use the full path
everywhere just to be sure

This idea is Thomas', I take no credit, except that I actually wrote it up.

The idea:
texinfo, on install, processes all info files. bash and glibc (and,
likely, other packages in core) no longer need to depend on texinfo,
but should check for install-info in the scriptlets before running.

a) user installs bash and glibc. No info files are processed, texinfo
not installed
  user then installs texinfo, all info files are processed
b) user installs texinfo first (somehow)
  user then installs bash, info files processed due to existence of
c) user follows case a or b
  user upgrades bash or glibc, info files processed as normal due to
presence of install-info

Any issues with this? See attached patch. Please review. If possible,
this needs to go to core before we release the ISOs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-texinfo-depcycles2.patch
Type: text/x-patch
Size: 3427 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/arch-dev-public/attachments/20090127/eaca4ffd/attachment.bin>

More information about the arch-dev-public mailing list