Closed dlech closed 7 years ago
Worth noting: the PATH
export may also be required for some other parts of brickstrap. We may be using tools from sbin
paths already. A recent example is: /usr/sbin/update-binfmts
(though I hardcoded that path). So the path export in particular needs careful review before moving it elsewhere.
It's also the case that we shell into the root
account which may not have a valid rc file for the shell or sane .profile
.
Worth noting that in particular multistrap
is also located in /usr/sbin
.
no longer applicable
We are currently setting...
...globally these are needed for the configure-rootfs and run-hooks steps. It probably doesn't hurt for other steps, but it is not good to have these set for brickstrap shell.