Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
dracut.4406
0138-warpclock-Do-not-use-warpclock-module-on-S...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0138-warpclock-Do-not-use-warpclock-module-on-S390-x-hwcl.patch of Package dracut.4406
From 56b5871a7336b1d90c76a282fa3d7f76e7f10769 Mon Sep 17 00:00:00 2001 From: Thomas Renninger <trenn@suse.de> Date: Thu, 14 Aug 2014 16:59:16 +0200 Subject: warpclock: Do not use warpclock module on S390(x), hwclock does not exist there bnc#884513 Signed-off-by: Thomas Renninger <trenn@suse.de> --- modules.d/00warpclock/module-setup.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/modules.d/00warpclock/module-setup.sh b/modules.d/00warpclock/module-setup.sh index 5aec4eb..9af1ee7 100755 --- a/modules.d/00warpclock/module-setup.sh +++ b/modules.d/00warpclock/module-setup.sh @@ -4,6 +4,10 @@ # called by dracut check() { + # hwclock does not exist on S390(x), bail out silently then + local _arch=$(uname -m) + [ "$_arch" = "s390" -o "$_arch" = "s390x" ] && return 1 + [ -e /etc/localtime -a -e /etc/adjtime ] || return 1 require_binaries /sbin/hwclock || return 1 } -- 1.7.6.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor