busybox: Fix in-store invocation of busybox
This fixes the usage for stdenv bootstrap. Additionally, dezgeg ported the patch from 1.25.1 to 1.26.1
This commit is contained in:
parent
de3cac0ece
commit
bfff3d6e23
@ -12,3 +12,12 @@ stdenv bootstrap.
|
|||||||
exit(busybox_main(argv));
|
exit(busybox_main(argv));
|
||||||
# endif
|
# endif
|
||||||
# if NUM_APPLETS > 0
|
# if NUM_APPLETS > 0
|
||||||
|
@@ -981,7 +981,7 @@ int main(int argc UNUSED_PARAM, char **argv)
|
||||||
|
|
||||||
|
lbb_prepare("busybox" IF_FEATURE_INDIVIDUAL(, argv));
|
||||||
|
# if !ENABLE_BUSYBOX
|
||||||
|
- if (argv[1] && is_prefixed_with(bb_basename(argv[0]), "busybox"))
|
||||||
|
+ if (argv[1] && strstr(bb_basename(argv[0]), "busybox") != 0)
|
||||||
|
argv++;
|
||||||
|
# endif
|
||||||
|
applet_name = argv[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user