Mailinglist Archive: opensuse-buildservice (247 mails)

< Previous Next >
Re: [opensuse-buildservice] Different invocation of service run act differently
Am Freitag, 7. Juni 2013, 23:24:01 schrieb Jan Engelhardt:
To do verification of the raw tarball, I have, in a _service file,

<services>
<service name="recompress">
<param name="file">*.tar*</param>
<param name="compression">none</param>
</service>
<service name="verify_file">
<param
name="file">_service:recompress:Alnuth-3.0.0.tar</param> <param
name="verifier">sha256</param>
<param
name="checksum">7203be33535135af16ba1a1479b057ec5fe4048c628d6d9bd2926824a01
7b477</param> </service>
<service name="recompress">
<param name="file">*.tar*</param>
<param name="compression">xz</param>
</service>
</services>

using this, the package builds on the server-side, but only there.
When issuing a localrun, I get

Compressed Alnuth-3.0.0.tar to Alnuth-3.0.0.tar
sha256sum: _service:recompress:Alnuth-3.0.0.tar: No such file or
directory
Aborting: service call failed: /usr/lib/obs/service/verify_file --file
'_service:recompress:Alnuth-3.0.0.tar' --verifier 'sha256' --checksum
'7203be33535135af16ba1a1479b057ec5fe4048c628d6d9bd2926824a017b477' --outdir
/tmp/tmphm40jp

Instead of

<param name="file">_service:recompress:Alnuth-3.0.0.tar</param>

I could place

<param name="file">Alnuth-3.0.0.tar</param>

in the _service file, but then it only works locally and not on
the server side.

Looks like a bug to me..

Yes, a bug in verify_file service ....

--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284
(AG
Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



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

< Previous Next >
References