Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
[opensuse-buildservice] Re: [PATCH] enable signing only if local instance has a hardware number generator. (Testing this first with 2.1 alpha and backport later to 2.0)
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Fri, 25 Jun 2010 16:43:32 +0200
  • Message-id: <20100625144332.GA20697@xxxxxxx>
On Fri, Jun 25, 2010 at 03:16:46PM +0200, OBS build-service wrote:
From: Adrian Schröter <adrian@xxxxxxx>

---
dist/obsapisetup | 8 +++++
dist/obsstoragesetup | 76 +++++++++++++++++++++++++++----------------------
2 files changed, 50 insertions(+), 34 deletions(-)

diff --git a/dist/obsapisetup b/dist/obsapisetup
index 2b875a7..784c63c 100755
--- a/dist/obsapisetup
+++ b/dist/obsapisetup
@@ -84,6 +84,14 @@ Welcome to openSUSE Build Service(OBS) Appliance
$OBSVERSION
based on $OS

EOF
+ if [ ! -f /dev/hw_random ]; then
+ cat >> /etc/issue <<EOF
+
+ WARNING: **** No hardware number generator found, package signing got
disabled! ****

Hmm, shouldn't that be /dev/hwrng nowadays?

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups