Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1febf8bf authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: BusyBox: poweroff broken


reported by: Maxim Podbereznyy <lisarden@gmail.com>

Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 772a9c90
Branches
Tags
No related merge requests found
......@@ -625,10 +625,17 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__
busybox --install -s /usr/local/bin/
#conflicts with systemd reboot...
#BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) multi-call binary.
if [ -f /usr/local/bin/reboot ] ; then
rm -f /usr/local/bin/reboot
fi
#poweroff: broken...
#BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) multi-call binary.
if [ -f /usr/local/bin/poweroff ] ; then
rm -f /usr/local/bin/poweroff
fi
#df: unrecognized option '--portability'
#BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) multi-call binary.
if [ -f /usr/local/bin/df ] ; then
......
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