Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
380f91f1b5 | ||
|
|
7b4e013126 | ||
|
|
c1a4b38c46 | ||
|
|
0ac5ee04ba | ||
|
|
da3c6ef677 | ||
|
|
5276e451f4 | ||
|
|
3ebf803f5f | ||
|
|
e62452d096 | ||
|
|
d88208bfba |
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.6.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# NB: This treefile is used by the legacy pungi path only to build tier-1. It
|
||||||
|
# will be removed in the future.
|
||||||
|
releasever: 42
|
||||||
|
repos:
|
||||||
|
- fedora-devel
|
||||||
|
include: fedora-bootc.yaml
|
||||||
@@ -5,3 +5,5 @@ variables:
|
|||||||
packages:
|
packages:
|
||||||
# https://gitlab.com/fedora/bootc/base-images/-/issues/12
|
# https://gitlab.com/fedora/bootc/base-images/-/issues/12
|
||||||
- fedora-repos-archive
|
- fedora-repos-archive
|
||||||
|
# Not in RHEL10
|
||||||
|
- systemd-resolved
|
||||||
@@ -26,3 +26,8 @@ postprocess:
|
|||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
|
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
|
||||||
/usr/bin/bootupctl backend generate-update-metadata
|
/usr/bin/bootupctl backend generate-update-metadata
|
||||||
|
- |
|
||||||
|
#!/bin/bash
|
||||||
|
# Workaround for https://issues.redhat.com/browse/RHEL-78104
|
||||||
|
set -xeuo pipefail
|
||||||
|
rm -vrf /usr/lib/ostree-boot/loader
|
||||||
@@ -4,13 +4,10 @@ postprocess:
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
source /usr/lib/os-release
|
source /usr/lib/os-release
|
||||||
# Check if the ID is Fedora and VERSION_ID is 42 or higher
|
echo -e "# kernel-install will not try to run dracut and allow rpm-ostree to\n\
|
||||||
if [[ "$ID" == "fedora" && "$VERSION_ID" -ge 42 ]]; then
|
|
||||||
echo -e "# kernel-install will not try to run dracut and allow rpm-ostree to\n\
|
|
||||||
# take over. Rpm-ostree will use this to know that it is responsible\n\
|
# take over. Rpm-ostree will use this to know that it is responsible\n\
|
||||||
# to run dracut and ensure that there is only one kernel in the image\n\
|
# to run dracut and ensure that there is only one kernel in the image\n\
|
||||||
layout=ostree" | tee /usr/lib/kernel/install.conf > /dev/null
|
layout=ostree" | tee /usr/lib/kernel/install.conf > /dev/null
|
||||||
fi
|
|
||||||
# By default dnf keeps multiple versions of the kernel, with this
|
# By default dnf keeps multiple versions of the kernel, with this
|
||||||
# configuration we tell dnf to treat the kernel as everything else.
|
# configuration we tell dnf to treat the kernel as everything else.
|
||||||
# https://dnf.readthedocs.io/en/latest/conf_ref.html#main-options
|
# https://dnf.readthedocs.io/en/latest/conf_ref.html#main-options
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ packages:
|
|||||||
- NetworkManager
|
- NetworkManager
|
||||||
- openssh-clients
|
- openssh-clients
|
||||||
- openssh-server
|
- openssh-server
|
||||||
- systemd-resolved
|
|
||||||
# linux-firmware now a recommends so let's explicitly include it
|
# linux-firmware now a recommends so let's explicitly include it
|
||||||
# https://gitlab.com/cki-project/kernel-ark/-/commit/32271d0cd9bd52d386eb35497c4876a8f041f70b
|
# https://gitlab.com/cki-project/kernel-ark/-/commit/32271d0cd9bd52d386eb35497c4876a8f041f70b
|
||||||
# https://src.fedoraproject.org/rpms/kernel/c/f55c3e9ed8605ff28cb9a922efbab1055947e213?branch=rawhide
|
# https://src.fedoraproject.org/rpms/kernel/c/f55c3e9ed8605ff28cb9a922efbab1055947e213?branch=rawhide
|
||||||
|
|||||||
Reference in new issue
Block a user