building for f31
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 15 Nov 2019 13:27:59 +0000 (14:27 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 15 Nov 2019 13:27:59 +0000 (14:27 +0100)
Makefile
create-vm.sh
lbuild-initvm.sh
lbuild-nightly.sh
lxc.mk
mirroring/f31/yum.repos.d/building.repo.in [new file with mode: 0644]
pkgs.py

index d8cfefc..a48654e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -348,7 +348,7 @@ header.spec:
        echo "%global _source_filedigest_algorithm 1" >> $@
        echo "%global _source_payload       w9.gzdio" >> $@
        echo "%global _binary_payload       w9.gzdio" >> $@
-ifeq "$(DISTRONAME)""$(filter $(DISTRONAME),f25 f27 f29)"
+ifeq "$(DISTRONAME)""$(filter $(DISTRONAME),f25 f27 f29 f31)"
        echo "%define debug_package %{nil}" >> $@
 endif
 
index 0b7d7fb..7027276 100755 (executable)
@@ -11,7 +11,7 @@ LOGS=$HOME/machines
 
 DOMAIN=pl.sophia.inria.fr
 
-DEFAULT_DISTRO=f29
+DEFAULT_DISTRO=f31
 DEFAULT_MEMORY=16384
 
 CONFIRM=
index 35e4c38..b26375b 100755 (executable)
@@ -30,7 +30,7 @@ function lxcroot () {
 
 # XXX fixme : when creating a 32bits VM we need to call linux32 as appropriate...s
 
-DEFAULT_FCDISTRO=f29
+DEFAULT_FCDISTRO=f31
 DEFAULT_PLDISTRO=lxc
 DEFAULT_PERSONALITY=linux64
 DEFAULT_MEMORY=3072
index ac37e69..1d115e9 100755 (executable)
@@ -11,7 +11,7 @@ COMMAND=$(basename $0)
 export PATH=$PATH:/bin:/sbin
 
 # default values, tunable with command-line options
-DEFAULT_FCDISTRO=f29
+DEFAULT_FCDISTRO=f31
 DEFAULT_PLDISTRO=lxc
 DEFAULT_PERSONALITY=linux64
 DEFAULT_MAILDEST="build at onelab.eu"
diff --git a/lxc.mk b/lxc.mk
index 0554e31..f833283 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -24,7 +24,7 @@ IN_NODEIMAGE += lxc-userspace
 # with 4.19, the jprobe api has gone entirely
 # https://github.com/torvalds/linux/commit/4de58696de076d9bd2745d1cbe0930635c3f5ac9
 #
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31)"
 #
 transforward-MODULES := transforward
 transforward-SPEC := transforward.spec
@@ -171,8 +171,8 @@ IN_SLICEIMAGE += bind_public
 ALL += bind_public
 
 # in fedora 29, this triggers nasty-looking compile messages
-# not trying too hard, we're mostly after the server-side of f29
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29)"
+# not trying too hard, we're mostly after the server-side of f29 and above
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31)"
 #
 # sliver-openvswitch
 #
@@ -385,7 +385,7 @@ ALL += release
 # so, let's keep this out of the way for now
 # 2019 mar 27: reinstating for hopefully connecting fed4fire
 #
-#ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f27 f29)"
+#ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f27 f29 f31)"
 sfa-MODULES := sfa
 sfa-SPEC := sfa.spec
 ALL += sfa
diff --git a/mirroring/f31/yum.repos.d/building.repo.in b/mirroring/f31/yum.repos.d/building.repo.in
new file mode 100644 (file)
index 0000000..4e77972
--- /dev/null
@@ -0,0 +1,23 @@
+[fedora]
+name=Fedora 31 - $basearch
+baseurl=@MIRRORURL@/fedora/releases/31/Everything/$basearch/os/
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-31-primary
+
+[updates]
+name=Fedora 31 - $basearch - Updates
+baseurl=@MIRRORURL@/fedora/updates/31/Everything/$basearch/
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-31-primary
+
+[modular]
+name=Fedora 31 - $basearch - Updates
+baseurl=@MIRRORURL@/fedora/updates/31/Modular/$basearch/
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-31-primary
diff --git a/pkgs.py b/pkgs.py
index 24b49b7..d6ea599 100755 (executable)
--- a/pkgs.py
+++ b/pkgs.py
@@ -35,14 +35,14 @@ from optparse import OptionParser
 import re
 
 default_arch = 'x86_64'
-known_arch = ['i386', 'i686', 'x86_64']
-default_fcdistro = 'f29'
+known_archs = ['i386', 'i686', 'x86_64']
+default_fcdistro = 'f31'
 known_fcdistros = [
     'centos5', 'centos6',
     # oldies but we have references to that in the pkgs files
     'f8', 'f10', 'f12', 'f14', 'f16', 'f18', 'f20', 'f21', 'f22', 'f23', 'f24',
     # these ones are still relevant
-    'f25', 'f27', 'f29',
+    'f25', 'f27', 'f29', 'f31'
     # scientific linux
     'sl6',
     # debians
@@ -242,7 +242,7 @@ def main ():
         sys.exit(1)
     keyword = args[0]
     inputs = args[1:]
-    if not options.arch in known_arch:
+    if not options.arch in known_archs:
         print('Unsupported arch', options.arch, file=stderr)
         parser.print_help(file=stderr)
         sys.exit(1)