Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6
build
_service:gitpkg:0009-Only-run-the-xen-remount-i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:gitpkg:0009-Only-run-the-xen-remount-in-xen-guests.patch of Package build
From 2549502a6fcb62be89b1d31e49b2870a2c022afa Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Fri, 31 Aug 2012 00:04:57 +0100 Subject: [PATCH] Only run the xen remount in xen guests Signed-off-by: David Greaves <david@dgreaves.com> --- initscript_sb2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/initscript_sb2 b/initscript_sb2 index 4aab599..b5e80a5 100644 --- a/initscript_sb2 +++ b/initscript_sb2 @@ -3,7 +3,9 @@ ABUILD_UID=399 ABUILD_GID=399 # Xen needs the / remounted rw in SB2 -mount -o remount,rw -t ext4 /dev/hda1 / +if [[ -e /proc/sys/xen/independent_wallclock ]]; then + mount -o remount,rw -t ext4 /dev/hda1 / +fi echo "Setting up abuild user in $BUILD_ROOT for SB2" echo "abuild::${ABUILD_UID}:${ABUILD_GID}:Autobuild:/home/abuild:/bin/bash" >> /etc/passwd -- 2.1.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor