[arch-projects] [mkinitcpio][PATCH 0/5] basedir fixes
Had some amazing help from Gerardo to polish up $BASEDIR. He made a couple of images from outside of a root and was able to boot off them. I've verified on my end that after these changes we're still able make a useable image for the simple testcase. Yay teamwork! Dave Reisner (5): functions: add missing 'command' before install functions: s/basedir/BASEDIR/ functions: fix pathing issue with $BASEDIR install/base: use private API call to add config mkinitcpio: fix resolution issues with RTLD functions | 12 ++++++------ install/base | 4 +++- mkinitcpio | 7 +++---- 3 files changed, 12 insertions(+), 11 deletions(-) -- 1.7.5.4
Without this, we hit an infinte loop and crash when a legacy 'install'
function in a hook is encountered.
Thanks-to: Gerardo Exequiel Pozzi
Thanks-to: Gerardo Exequiel Pozzi
Thanks-to: Gerardo Exequiel Pozzi
We can't let add_file get its hands on the config file, because we need
to be sure that an absolute path is honored. As a side effect, ensure
that $BASEDIR is appended to the config file during preset processing.
Thanks-to: Gerardo Exequiel Pozzi
The _add_dir call is all wrong. The necessary paths are created by
reversing the order of the _add_symlink and _add_file calls, as
_add_file will take care of creating parent directories.
Thanks-to: Gerardo Exequiel Pozzi
Am 27.06.2011 02:32, schrieb Dave Reisner:
Had some amazing help from Gerardo to polish up $BASEDIR. He made a couple of images from outside of a root and was able to boot off them. I've verified on my end that after these changes we're still able make a useable image for the simple testcase.
Yay teamwork!
Pulled. Thanks Dave and Gerardo.
participants (2)
-
Dave Reisner
-
Thomas Bächler