{"shas":[["e89a9da9632b42c2fdf3b75b65e6df23684c68d7","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","properly support $BASEDIR\n\nThis add proper support for a $BASEDIR, wherein as much as possible is\ntaken from the user specified root, instead of mixing and matching\nbinaries and modules. This avoids conflicts, particularly with binaries\nlike udev or module-init-tools which may have newer functionality that\nthe root in the $BASEDIR requires.\n\nThis is somewhat of a large patch, which involves a few key changes:\n\n1) Add a new class of \"private\" functions: _add_*, which act as a \"back\nend\" for the equivalent non-underscore-prefixed functions.\n2) Refactor the add_* family of functions to use these new back end\nfunctions. This generally simplifies the logic as we have a clear\ndivision of labor.\n3) Instead of using ldd, which is a glorified wrapper around the RTLD,\ncreate a wrapper around the RTLD and invoke it ourselves. This is\nbasically just a small performance improvement -- the bulk of the\nparsing done by this function's output is done in pure bash.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"]],"ref":"refs/heads/working","size":1,"head":"e89a9da9632b42c2fdf3b75b65e6df23684c68d7","push_id":34347127}