openSUSE / obs-build

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

build-recipe-livebuild: run as root with 'sh -c' instead of 'su -c ... - root' #876

Closed bluca closed 2 years ago

bluca commented 2 years ago

livebuild stopped working some time ago:

[ 48s] ----------------------------------------------------------------- [ 48s] ----- building standard.livebuild (user abuild) [ 48s] ----------------------------------------------------------------- [ 48s] ----------------------------------------------------------------- [ 49s] su: Critical error - immediate abort [ 50s] su: Critical error - immediate abort

https://build.opensuse.org/package/live_build_log/home:bluca:debian_secure_boot/example-images/img_nokernel/x86_64

Run it as root instead of abuild like other image build systems, and use sh -c.