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

Pass-through --buildtool-opt #944

Closed bmwiedemann closed 1 year ago

bmwiedemann commented 1 year ago

Pass-through --buildtool-opt into VMs to fix

osc build --vm-type=kvm --build-opt=--buildtool-opt=--noclean
adrianschroeter commented 1 year ago

clean happens outside of the vm, why is that needed inside VM?

bmwiedemann commented 1 year ago

This is about rpmbuild that now removes the BUILD dir after a successful build. https://github.com/rpm-software-management/rpm/commit/b34333fa021c0ee7215714eeef96d1a2843ea08e

and for debugging issues with reproducible-builds it is really useful to keep it around for diffing.