Dear OBS list,
I've tried to find out how I can set environment variables while
building dpkg packages via OBS. I would have assumed that maybe the
project config would provide something like that, but I failed to find
any.
The concrete usage example is to pass something like DEB_BUILD_OPTIONS=parallel=N
which then most sane debian packages turn into "-jN" during make.
I also grep'ed for DEB_BUILD_OPTIONS in the OBS source code, but there
were no hits.
Right now I'm watching a 16-core machine building a Linux kernel with "-j1" since
I cannot figure out what is the designated way in OBS to specify such environment
variables.
Thanks in advance for any assistance.
Regards,
Harald
p.s.: I previously had to switch from public build.opensuse.org to
a local installation of OBS due to the public build.opensuse.org workers
consistently failing builds with "no space left on device" while trying
to build a linux kernel package. And I already had stripped it down to
only one variant + flavor + architecture. Not a complaint, just
noticing it. I would have expected kernel builds not to be that
uncommon.
--
- Harald Welte