[projects/cleanbuild] use local builder script

glen glen at pld-linux.org
Wed Dec 14 22:25:01 CET 2016


commit 77355803216f815d0aa7a1252be09a1fd0a88791
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Dec 14 23:24:38 2016 +0200

    use local builder script
    
    so can do local modifications to builder script easily

 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index 3e8a146..f0422b6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,6 +12,8 @@ RUN set -x \
 	# for builder -R
 	&& echo 'builder ALL = NOPASSWD:/usr/bin/poldek -q --update --upa' > /etc/sudoers.d/builder \
 	&& echo 'builder ALL = NOPASSWD:/usr/bin/poldek --noask --caplookup --uniq -uG *' >>  /etc/sudoers.d/builder \
+	# replace system builder script with local checkout
+	&& ln -snf ~builder/rpm/rpm-build-tools/builder.sh /usr/bin/builder \
 	# preserve downloaded packages
 	&& poldek-config keep_downloads yes \
 	&& poldek --clean-whole
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/77355803216f815d0aa7a1252be09a1fd0a88791



More information about the pld-cvs-commit mailing list