rpms/schroot/F-13 schroot-script-defaults-path.patch, NONE, 1.1 schroot.spec, 1.5, 1.6

Zach Carter zachcarter at fedoraproject.org
Tue May 25 18:40:39 UTC 2010


Author: zachcarter

Update of /cvs/pkgs/rpms/schroot/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5077

Modified Files:
	schroot.spec 
Added Files:
	schroot-script-defaults-path.patch 
Log Message:
Fix for BZ 588200 (add sbin directories to PATH)


schroot-script-defaults-path.patch:
 script-defaults |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE schroot-script-defaults-path.patch ---
--- bin/schroot/script-defaults.orig	2010-05-21 15:25:11.000000000 -0700
+++ bin/schroot/script-defaults	2010-05-21 15:27:00.000000000 -0700
@@ -1,6 +1,8 @@
 # Default settings for chroot setup and exec scripts.
 # See schroot-script-config(5) for further details.
 
+PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
+
 # Filesystems to mount inside the chroot.
 FSTAB="/etc/schroot/mount-defaults"
 


Index: schroot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/schroot/F-13/schroot.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- schroot.spec	14 Feb 2010 04:14:32 -0000	1.5
+++ schroot.spec	25 May 2010 18:40:39 -0000	1.6
@@ -1,6 +1,6 @@
 Name: schroot
 Version: 1.2.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: Execute commands in a chroot environment
 Group: Development/Tools
 License: GPLv3+
@@ -8,6 +8,7 @@ Url: http://packages.debian.org/schroot
 Source0: http://ftp.de.debian.org/debian/pool/main/s/schroot/%{name}_%{version}.orig.tar.gz
 Patch0: schroot-pam.patch
 Patch1: schroot-bind-shm.patch
+Patch2: schroot-script-defaults-path.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: pam-devel
 BuildRequires: boost-devel
@@ -59,6 +60,8 @@ functionality is available in the next g
 #      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526788
 %patch1 -p0
 
+%patch2 -p0
+
 %build
 
 %configure LIBS=-lboost_system --disable-rpath --enable-static --disable-shared --enable-dchroot 
@@ -122,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/dchroot.1.gz
 
 %changelog
+* Tue May 24 2010 Zach Carter <z.carter at f5.com> - 1.2.3-6
+- update PATH in /etc/schroot/script-defaults - BZ 588200
+
 * Sat Feb 13 2010 Zach Carter <z.carter at f5.com> - 1.2.3-5
 - Specifically call out -lboost_system BZ564770
 



More information about the scm-commits mailing list