diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-18 02:01:35 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-06-25 12:25:45 +0200 |
commit | 840893e2b37470749d11e249becdba40b91adc92 (patch) | |
tree | 471e03e8ef170ad7cee9803c108673348a12f629 /hooks/consolefont | |
parent | 99c2b87cdbc3f449b68ed6d0bf2fec624d539972 (diff) | |
download | mkinitcpio-840893e2b37470749d11e249becdba40b91adc92.tar.gz mkinitcpio-840893e2b37470749d11e249becdba40b91adc92.tar.xz |
properly support $BASEDIR
This add proper support for a $BASEDIR, wherein as much as possible is
taken from the user specified root, instead of mixing and matching
binaries and modules. This avoids conflicts, particularly with binaries
like udev or module-init-tools which may have newer functionality that
the root in the $BASEDIR requires.
This is somewhat of a large patch, which involves a few key changes:
1) Add a new class of "private" functions: _add_*, which act as a "back
end" for the equivalent non-underscore-prefixed functions.
2) Refactor the add_* family of functions to use these new back end
functions. This generally simplifies the logic as we have a clear
division of labor.
3) Instead of using ldd, which is a glorified wrapper around the RTLD,
create a wrapper around the RTLD and invoke it ourselves. This is
basically just a small performance improvement -- the bulk of the
parsing done by this function's output is done in pure bash.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'hooks/consolefont')
0 files changed, 0 insertions, 0 deletions