Commit 883eee9a authored by Olliver Schinagl's avatar Olliver Schinagl Committed by Natanael Copa
Browse files

main/busybox: Ensure all paths for busybox exists



When busybox --install is called (without parameters) the user is
responsible to ensure all paths are created. While this is probably a
bug in upstream busybox, it has been working this way since forever.

Until this is fixed upstream, lets ensure that if busybox is installed
very early on, all paths needed do actually exist preventing 'no such
file or directory' errors during install.
Signed-off-by: Olliver Schinagl's avatarOlliver Schinagl <oliver@schinagl.nl>
parent 87bb76ed
#!/bin/sh
# We need the symlinks early
/bin/busybox mkdir -p /usr/bin
/bin/busybox mkdir -p "/bin" "/sbin" "/usr/bin" "/usr/sbin"
exec /bin/busybox --install -s
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment