~sircmpwn/sr.ht-dev

8 2

[builds.sr.ht 0/4] Refreshing Fedora images

Details
Message ID
<20191022110432.12129-1-timothee.floure@posteo.net>
DKIM signature
pass
Download raw message
Hi,

This set of changes add a build for Fedora 32, update the rawhide
pointer from F31 to F32 and fix image generation for F31+. I will submit
a patch for man.sr.ht once the set is applied.

Timothée Floure (4):
  Add image definition for fedora 32
  Explicitly add missing (>= F31) systemd-udev package to fedora images.
  Fix generation of /boot/vmlinuz* in F31+ images
  Remove explicit initramfs generation from Fedora image generation
    script

 images/fedora/32/functions |  1 +
 images/fedora/32/genimg    |  3 +++
 images/fedora/genimg       | 10 ++++------
 images/fedora/rawhide      |  2 +-
 4 files changed, 9 insertions(+), 7 deletions(-)
 create mode 120000 images/fedora/32/functions
 create mode 100755 images/fedora/32/genimg

Cheers,

-- 
Timothée

[PATCH builds.sr.ht 4/4] Remove explicit initramfs generation from Fedora image generation script

Details
Message ID
<20191022110432.12129-5-timothee.floure@posteo.net>
In-Reply-To
<20191022110432.12129-1-timothee.floure@posteo.net> (view parent)
DKIM signature
pass
Download raw message
Patch: +0 -2
Initrmfs generation is already handled by the posttrans scriptlets of
kernel-core (via kernel-install, see `rpm -q --scripts kernel-core`).
---
 images/fedora/genimg | 2 --
 1 file changed, 2 deletions(-)

diff --git a/images/fedora/genimg b/images/fedora/genimg
index 813dbf8..efcb282 100755
--- a/images/fedora/genimg
+++ b/images/fedora/genimg
@@ -108,8 +108,6 @@ run_root systemctl enable sshd
 
 linuxver=$(ls /mnt/boot | grep "vmlinuz.*.$arch" | cut -d- -f2-)
 
-run_root dracut -fv /boot/initramfs-$linuxver.img $linuxver
-
 cat >/mnt/boot/extlinux.conf <<EOF
 default fedora
 label fedora
-- 
2.21.0

[PATCH builds.sr.ht 1/4] Add image definition for fedora 32

Details
Message ID
<20191022110432.12129-2-timothee.floure@posteo.net>
In-Reply-To
<20191022110432.12129-1-timothee.floure@posteo.net> (view parent)
DKIM signature
pass
Download raw message
---
 images/fedora/32/functions | 1 +
 images/fedora/32/genimg    | 3 +++
 images/fedora/rawhide      | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)
 create mode 120000 images/fedora/32/functions
 create mode 100755 images/fedora/32/genimg

diff --git a/images/fedora/32/functions b/images/fedora/32/functions
new file mode 120000
index 0000000..c0b5bcc
--- /dev/null
+++ b/images/fedora/32/functions
@@ -0,0 +1 @@
+../functions
\ No newline at end of file
diff --git a/images/fedora/32/genimg b/images/fedora/32/genimg
new file mode 100755
index 0000000..d18204f
--- /dev/null
+++ b/images/fedora/32/genimg
@@ -0,0 +1,3 @@
+#!/bin/sh
+export release=32
+exec ../genimg "$*"
diff --git a/images/fedora/rawhide b/images/fedora/rawhide
index b74e882..1758ddd 120000
--- a/images/fedora/rawhide
+++ b/images/fedora/rawhide
@@ -1 +1 @@
-31
\ No newline at end of file
+32
\ No newline at end of file
-- 
2.21.0

[PATCH builds.sr.ht 3/4] Fix generation of /boot/vmlinuz* in F31+ images

Details
Message ID
<20191022110432.12129-4-timothee.floure@posteo.net>
In-Reply-To
<20191022110432.12129-1-timothee.floure@posteo.net> (view parent)
DKIM signature
pass
Download raw message
Patch: +3 -3
The kernel-install script (provided by systemd-udev) does not install
kernel images in /boot if the systemd machine ID is not defined *AND* if
grubby is not installed.

I'd like to get rid of grubby since it depends on grub2-tools (does not
make sense since we use syslinux) but I believe it is good enough for
now, as it would require more digging that I can do right now.
---
 images/fedora/genimg | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/images/fedora/genimg b/images/fedora/genimg
index 230f144..813dbf8 100755
--- a/images/fedora/genimg
+++ b/images/fedora/genimg
@@ -81,12 +81,12 @@ cat > /mnt/etc/hosts <<EOF
 127.0.0.1 build
 EOF
 
+run_root systemd-machine-id-setup
 run_root systemctl enable systemd-networkd.service
 run_root systemctl enable systemd-timesyncd.service
 
-run_root dnf -y install kernel
-run_root dnf -y install @development-tools git mercurial openssh-server sudo \
-	syslinux syslinux-extlinux
+run_root dnf -y install kernel grubby syslinux syslinux-extlinux
+run_root dnf -y install @development-tools git mercurial openssh-server sudo
 
 if [ "$arch" = "x86_64" ]
 then
-- 
2.21.0

[PATCH builds.sr.ht 2/4] Explicitly add missing (>= F31) systemd-udev package to fedora images.

Details
Message ID
<20191022110432.12129-3-timothee.floure@posteo.net>
In-Reply-To
<20191022110432.12129-1-timothee.floure@posteo.net> (view parent)
DKIM signature
pass
Download raw message
Patch: +1 -1
The mentionned package provides systemd-timesyncd.
---
 images/fedora/genimg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/fedora/genimg b/images/fedora/genimg
index 96a4814..230f144 100755
--- a/images/fedora/genimg
+++ b/images/fedora/genimg
@@ -51,7 +51,7 @@ dnf -y \
 	--disablerepo='*' \
 	--enablerepo=fedora \
 	--enablerepo=updates install \
-	systemd passwd dnf fedora-release
+	systemd systemd-udev passwd dnf fedora-release
 
 mount --bind /dev /mnt/dev
 mount --bind /dev/pts /mnt/dev/pts
-- 
2.21.0
Details
Message ID
<BXZJ53YYT2QL.2BSAEJBJUXNZX@homura>
In-Reply-To
<20191022110432.12129-1-timothee.floure@posteo.net> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git.sr.ht:~sircmpwn/builds.sr.ht
   d35ff0b5..e5de6d3  master -> master
 * [new tag]         0.47.13 -> 0.47.13

I'm getting these deployed now and will kick off a Fedora build shortly.

Follow-ups:

- Did any images fall out of the support lifecycle and need to be
  deprecated now?
- Can you send along updates for
  sr.ht-docs/builds.sr.ht/compatibility.md?
Details
Message ID
<BXZJZ1X99CZ7.KF9QJN6W0SW9@homura>
In-Reply-To
<20191022110432.12129-1-timothee.floure@posteo.net> (view parent)
DKIM signature
pass
Download raw message
Fedora 32 build failed:

https://builds.sr.ht/~sircmpwn/job/100410
Details
Message ID
<20191028074742.yiwngr7vzvxtra2w@phi>
In-Reply-To
<BXZJZ1X99CZ7.KF9QJN6W0SW9@homura> (view parent)
DKIM signature
pass
Download raw message
Hello,

The build image you used contains an outdated `fedora-pgp-keys` package. Can
you re-generate the F30 build image first?

--
Timothée
Details
Message ID
<BY75Z3JVJ9J9.36S3C6LEIWKLH@homura>
In-Reply-To
<20191028074742.yiwngr7vzvxtra2w@phi> (view parent)
DKIM signature
pass
Download raw message
Yep, I think we're all good. Thanks!