copy just the 2 core repos into container when bootstrapping a container fs
authorparmentelat <thierry.parmentelat@inria.fr>
Wed, 5 Dec 2018 10:13:23 +0000 (11:13 +0100)
committerparmentelat <thierry.parmentelat@inria.fr>
Wed, 5 Dec 2018 10:13:23 +0000 (11:13 +0100)
lbuild-initvm.sh

index 71a7e24..da0ef1c 100755 (executable)
@@ -179,7 +179,7 @@ function fedora_download() {
 
     # copy yum config and repo files
     cp /etc/yum.conf $INSTALL_ROOT/etc/
-    cp /etc/yum.repos.d/fedora*.repo $INSTALL_ROOT/etc/yum.repos.d/
+    cp /etc/yum.repos.d/fedora{,-updates}.repo $INSTALL_ROOT/etc/yum.repos.d/
 
     # append fedora repo files with desired ${fedora_release} and $basearch
     for f in $INSTALL_ROOT/etc/yum.repos.d/* ; do