quick $ dirty f35 for create-cm.sh
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 21 Feb 2022 17:05:44 +0000 (18:05 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 21 Feb 2022 17:05:44 +0000 (18:05 +0100)
Makefile
create-vm.sh
fedora-mirror.sh
lbuild-nightly.sh
lxc.mk
mirroring/f35/yum.repos.d/building.repo.in [new file with mode: 0644]
pkgs.py

index d4ccf47..d35cc7a 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 f31 f33)"
+ifeq "$(DISTRONAME)""$(filter $(DISTRONAME),f25 f27 f29 f31 f33 f35)"
        echo "%define debug_package %{nil}" >> $@
 endif
 
index 3ac3632..da3de79 100755 (executable)
@@ -28,7 +28,7 @@ LOGS=$HOME/machines
 
 DOMAIN=pl.sophia.inria.fr
 
-DEFAULT_DISTRO=f33
+DEFAULT_DISTRO=f35
 DEFAULT_MEMORY=16384
 
 CONFIRM=
index 7952453..0bfb7bc 100755 (executable)
@@ -16,8 +16,8 @@ root=/mirror/
 us_fedora_url=rsync://mirrors.kernel.org/fedora
 eu_fedora_url=rsync://mirror1.hs-esslingen.de/fedora/linux
 
-default_distroname="f33"
-all_distronames="f31 f33"
+default_distroname="f35"
+all_distronames="f33 f35"
 
 global_arch="x86_64"
 
index 997e3e3..c60677e 100755 (executable)
@@ -11,7 +11,7 @@ COMMAND=$(basename $0)
 export PATH=$PATH:/bin:/sbin
 
 # default values, tunable with command-line options
-DEFAULT_FCDISTRO=f33
+DEFAULT_FCDISTRO=f35
 DEFAULT_PLDISTRO=lxc
 DEFAULT_PERSONALITY=linux64
 DEFAULT_MAILDEST="build at onelab.eu"
diff --git a/lxc.mk b/lxc.mk
index 1443d25..59f239f 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -11,7 +11,7 @@
 
 
 ### starting with f31 : server-side-only
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33 f35)"
 ###
 
 
@@ -32,7 +32,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 f31 f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33 f35)"
 #
 transforward-MODULES := transforward
 transforward-SPEC := transforward.spec
@@ -149,7 +149,7 @@ ALL += pf2slice
 #                                ^^^
 #Error: This expression has type string but an expression was expected of type bytes
 #
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33 f35)"
 vsys-MODULES := vsys
 vsys-SPEC := vsys.spec
 # ocaml-docs is not needed anymore but keep it on a tmp basis as some tags may still have it
@@ -189,7 +189,7 @@ 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 and above
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33 f35)"
 #
 # sliver-openvswitch
 #
@@ -251,7 +251,7 @@ IN_MYPLC += www-register-wizard
 # stdsoap2.cpp:8259:18: error: narrowing conversion of ‘2147483708’ from ‘unsigned int’ to ‘int’ [-Wnarrowing]
 #  8259 |       case '<' | 0x80000000:
 #       |                  ^~~~~~~~~~
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33 f35)"
 pcucontrol-MODULES := pcucontrol
 pcucontrol-SPEC := pcucontrol.spec
 ALL += pcucontrol
@@ -268,7 +268,7 @@ endif
 
 
 ### server-side-only
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33 f35)"
 ### server-side-only
 
 
diff --git a/mirroring/f35/yum.repos.d/building.repo.in b/mirroring/f35/yum.repos.d/building.repo.in
new file mode 100644 (file)
index 0000000..041255d
--- /dev/null
@@ -0,0 +1,23 @@
+[fedora]
+name=Fedora 35 - $basearch
+baseurl=@MIRRORURL@/fedora/releases/35/Everything/$basearch/os/
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-35-primary
+
+[updates]
+name=Fedora 35 - $basearch - Updates
+baseurl=@MIRRORURL@/fedora/updates/35/Everything/$basearch/
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-35-primary
+
+[modular]
+name=Fedora 35 - $basearch - Updates
+baseurl=@MIRRORURL@/fedora/updates/35/Modular/$basearch/
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-35-primary
diff --git a/pkgs.py b/pkgs.py
index 36007af..96b6db7 100755 (executable)
--- a/pkgs.py
+++ b/pkgs.py
@@ -36,7 +36,7 @@ import re
 
 default_arch = 'x86_64'
 known_archs = ['i386', 'i686', 'x86_64']
-default_fcdistro = 'f33'
+default_fcdistro = 'f35'
 known_fcdistros = [
     'centos5', 'centos6',
     # oldies but we have references to that in the pkgs files
@@ -45,7 +45,7 @@ known_fcdistros = [
     # these ones are still relevant;
     # f32 is mentioned to be able to use create-vms with that distro
     # as we're running into issues to build a minimal f33 from a f29 host
-    'f29', 'f31', 'f32', 'f33',
+    'f29', 'f31', 'f32', 'f33', 'f35',
     # scientific linux
     'sl6',
     # debians