openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

[build-vm] use poweroff instead of halt -p #875

Closed dcermak closed 1 year ago

dcermak commented 1 year ago

Some minimal coreutils installations like toybox provide halt, but it does not support the -p option. As halt -p is equivalent to poweroff, we use that instead and can then build toybox successfully

adrianschroeter commented 1 year ago

okay, poweroff seems to exist long enough, at least since SLE 10