]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
use locally build rpms as poldek source
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jun 2017 20:36:37 +0000 (23:36 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jun 2017 20:36:37 +0000 (23:36 +0300)
docker/Dockerfile
docker/localrpms.conf [new file with mode: 0644]

index d5894f31fa744996b43f2a31b00d5a76b14f05b5..48f167725482d9d1bcb23642200ce6190072508b 100644 (file)
@@ -19,6 +19,9 @@ RUN set -x \
        && poldek-config keep_downloads yes \
        && poldek --clean-whole
 
+# overwrite with our config (it defines same path, but disabled)
+COPY localrpms.conf /etc/poldek/source.conf
+
 # switch user
 USER builder
 
diff --git a/docker/localrpms.conf b/docker/localrpms.conf
new file mode 100644 (file)
index 0000000..743aafb
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# poldek source to use locally built rpms
+
+[source]
+type   = dir
+name   = localrpms
+path   = $HOME/rpm/RPMS
+auto   = yes
+autoup = no
This page took 0.621045 seconds and 4 git commands to generate.