Mailinglist Archive: opensuse-buildservice (259 mails)

< Previous Next >
[opensuse-buildservice] Re: [PATCH] - do not verify signatures during build, the inner system is anyway not trustable and osc checks it already (bnc#433206)
On Thu, Mar 29, 2012 at 11:41:14AM +0200, OBS build wrote:
From: Adrian Schröter <adrian@xxxxxxx>

---
build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build b/build
index 6b6a526..a6d4223 100755
--- a/build
+++ b/build
@@ -2003,7 +2003,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do
test -z "$BUILD_RPM_BUILD_STAGE" && BUILD_RPM_BUILD_STAGE=-ba

# XXX: move _srcdefattr to macro file?
- rpmbopts=("$BUILD_RPM_BUILD_STAGE" "--define" "_srcdefattr
(-,root,root)")
+ rpmbopts=("$BUILD_RPM_BUILD_STAGE" "--nosignature" "--define"
"_srcdefattr (-,root,root)")
if [ -n "$ABUILD_TARGET" ]; then
rpmbopts[${#rpmbopts[@]}]="--target=$ABUILD_TARGET"
fi

Hmm, I think older rpm versions (SLES9?) don't support --nosignature.
I might be mistaken, though.

M.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages