I don’t think you can pass DEB_BUILD_OPTIONS for debian dsc builds
on OBS. Which is shame as it would useful (in the same way the it’s possible
to pass defines/macros to rpm builds on OBS)
I haven’t tried it, but looking at:
It might be possible to override the whole build command with something like this
in the prjconf:
Substitute: dsc:build_cmd ‘DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc'
Having an easy way to pass options to dsc build would be a useful feature.
pass DEB_ and DH_ environment variables in particular would be a useful feature.
On 30 Oct 2020, at 13:53, Harald Welte
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
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
I cannot figure out what is the designated way in OBS to specify such environment
Thanks in advance for any assistance.
p.s.: I previously had to switch from public build.opensuse.org
a local installation of OBS due to the public build.opensuse.org
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
- Harald Welte <laforge(a)gnumonks.org>
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org