From 4f312271ad2445ead1da6c81d3f7d26897767a01 Mon Sep 17 00:00:00 2001 From: Felicitas Pojtinger Date: Sat, 2 Nov 2024 17:32:09 -0700 Subject: [PATCH 1/2] chore: Bump base image and start introducing new repo config syntax Signed-off-by: Felicitas Pojtinger --- Dockerfile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d0ff33..cdeda7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM fedora:40 +FROM fedora:41 RUN dnf group install -y "Development Tools" RUN dnf install -y fedora-packager rpmdevtools perl ccache rpm-sign diff --git a/README.md b/README.md index 5923946..97c254f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This project builds the Linux kernel as RPM packages for various Linux distros a ```yaml #cloud-config runcmd: - - dnf config-manager --add-repo 'https://loopholelabs.github.io/linux-pvm-ci/fedora/hetzner/repodata/linux-pvm-ci.repo' + - dnf config-manager --add-repo 'https://loopholelabs.github.io/linux-pvm-ci/fedora/hetzner/repodata/linux-pvm-ci.repo' # Or, if you're on Fedora Linux 41+, use `sudo dnf config-manager addrepo --from-repofile 'https://loopholelabs.github.io/linux-pvm-ci/fedora/baremetal/repodata/linux-pvm-ci.repo'` - dnf install -y kernel-6.7.12_pvm_host_fedora_hetzner-1.x86_64 - grubby --set-default /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner - grubby --copy-default --args="pti=off nokaslr lapic=notscdeadline" --update-kernel /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner @@ -49,7 +49,7 @@ power_state: ### Manually ```shell -sudo dnf config-manager --add-repo 'https://loopholelabs.github.io/linux-pvm-ci/fedora/hetzner/repodata/linux-pvm-ci.repo' +dnf config-manager --add-repo 'https://loopholelabs.github.io/linux-pvm-ci/fedora/hetzner/repodata/linux-pvm-ci.repo' # Or, if you're on Fedora Linux 41+, use `sudo dnf config-manager addrepo --from-repofile 'https://loopholelabs.github.io/linux-pvm-ci/fedora/baremetal/repodata/linux-pvm-ci.repo'` sudo dnf install -y kernel-6.7.12_pvm_host_fedora_hetzner-1.x86_64 ``` From 8418e75cbf7b5194615735fea27ebef68fa9bb22 Mon Sep 17 00:00:00 2001 From: Felicitas Pojtinger Date: Wed, 6 Nov 2024 17:30:59 -0500 Subject: [PATCH 2/2] fix: Use new group names for F41 Signed-off-by: Felicitas Pojtinger --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cdeda7c..d5ac811 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ FROM fedora:41 -RUN dnf group install -y "Development Tools" -RUN dnf install -y fedora-packager rpmdevtools perl ccache rpm-sign +RUN dnf install -y @development-tools fedora-packager rpmdevtools perl ccache rpm-sign RUN dnf builddep -y kernel