[Buildroot] [PATCHv2] system: use system shell as root shell

Peter Korsgaard peter at korsgaard.com
Thu Aug 1 19:25:02 UTC 2019


>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

Hi,

 > Hmm, wait a second - This sed invocation doesn't make any sense to me.

 > You search for ^\root, what is the backslash for? The search should also
 > include the : separator to ensure it doesn't match 'rootfoo' or similar.

 > You replace the last : and everything after it (E.G. /bin/sh) with
 > $(SKELETON_INIT_COMMON_BIN_SH), so you drop the last :.

Sorry, sent too fast - Last issue: SKELETON_INIT_COMMON_BIN_SH is the
name of the shell without path info, so we need to ensure it is prefixed
with /bin/

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list