From 924afd5523e93e921ab9ca6972012db0a28f032a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 20 Dec 2017 11:03:53 +0100 Subject: [PATCH] f27 --- Makefile | 2 +- fedora-mirror.sh | 4 ++-- lbuild-initvm.sh | 2 +- lxc.mk | 8 ++++---- mirroring/f27/yum.repos.d/building.repo.in | 16 ++++++++++++++++ pkgs.py | 4 ++-- 6 files changed, 26 insertions(+), 10 deletions(-) create mode 100644 mirroring/f27/yum.repos.d/building.repo.in diff --git a/Makefile b/Makefile index 7ef9e8e6..1c601a94 100644 --- a/Makefile +++ b/Makefile @@ -351,7 +351,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),f23 f24 f25)" +ifeq "$(DISTRONAME)""$(filter $(DISTRONAME),f25 f27)" echo "%define debug_package %{nil}" >> $@ endif diff --git a/fedora-mirror.sh b/fedora-mirror.sh index de615e91..8949c37b 100755 --- a/fedora-mirror.sh +++ b/fedora-mirror.sh @@ -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="f25" -all_distronames="f23 f24 f25" +default_distroname="f27" +all_distronames="f25 f27" global_arch="x86_64" diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 2a1b7853..aa714608 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -30,7 +30,7 @@ function lxcroot () { # XXX fixme : when creating a 32bits VM we need to call linux32 as appropriate...s -DEFAULT_FCDISTRO=f25 +DEFAULT_FCDISTRO=f27 DEFAULT_PLDISTRO=lxc DEFAULT_PERSONALITY=linux64 DEFAULT_MEMORY=3072 diff --git a/lxc.mk b/lxc.mk index 0a8d54b8..77858afd 100644 --- a/lxc.mk +++ b/lxc.mk @@ -31,7 +31,7 @@ IN_NODEIMAGE += transforward # procprotect: root context module for protecting against weaknesses in /proc # ### remove procprotect from the nodes on f20 and above, needs more work starting with 3.19 -ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f20 f21 f22 f23 f24 f25)" +ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f20 f21 f22 f23 f24 f25 f27)" procprotect-MODULES := procprotect procprotect-SPEC := procprotect.spec ALL += procprotect @@ -43,7 +43,7 @@ endif # ### starting August 2015, ipfw module won't build against fedora22 # that comes with kernel 4.1.4 -ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f21 f22 f23 f24 f25)" +ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f21 f22 f23 f24 f25 f27)" ipfwroot-MODULES := ipfw ipfwroot-SPEC := planetlab/ipfwroot.spec ALL += ipfwroot @@ -130,7 +130,7 @@ IN_NODEIMAGE += codemux # fprobe-ulog # # xxx temporarily turning this off on f20 and above -ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f20 f21 f22 f23 f24 f25)" +ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f20 f21 f22 f23 f24 f25 f27)" fprobe-ulog-MODULES := fprobe-ulog fprobe-ulog-SPEC := fprobe-ulog.spec ALL += fprobe-ulog @@ -385,7 +385,7 @@ IN_NODEIMAGE += pyplnet IN_MYPLC += pyplnet IN_BOOTCD += pyplnet -ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f23 f24 f25)" +ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f23 f24 f25 f27)" # # OML measurement library # diff --git a/mirroring/f27/yum.repos.d/building.repo.in b/mirroring/f27/yum.repos.d/building.repo.in new file mode 100644 index 00000000..1cd43e82 --- /dev/null +++ b/mirroring/f27/yum.repos.d/building.repo.in @@ -0,0 +1,16 @@ +[fedora] +name=Fedora 27 - $basearch +baseurl=@MIRRORURL@/fedora/releases/27/Everything/$basearch/os/ +enabled=1 +metadata_expire=7d +gpgcheck=1 +gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-27-primary + +[updates] +name=Fedora 27 - $basearch - Updates +baseurl=@MIRRORURL@/fedora/updates/27/$basearch/ +enabled=1 +metadata_expire=7d +gpgcheck=1 +gpgkey=http://mirror.onelab.eu/keys/RPM-GPG-KEY-fedora-27-primary + diff --git a/pkgs.py b/pkgs.py index abfc53b2..c5a0bf2e 100755 --- a/pkgs.py +++ b/pkgs.py @@ -35,13 +35,13 @@ import re default_arch='x86_64' known_arch = ['i386', 'i686', 'x86_64'] -default_fcdistro = 'f25' +default_fcdistro = 'f27' known_fcdistros = [ 'centos5', 'centos6', # oldies but we have references to that in the pkgs files 'f8', 'f10', 'f12', 'f16', # these ones are still relevant - 'f14', 'f18', 'f20', 'f21', 'f22', 'f23', 'f24', 'f25', + 'f14', 'f18', 'f20', 'f21', 'f22', 'f23', 'f24', 'f25', 'f27', 'sl6', # debians 'wheezy','jessie', -- 2.43.0