forked from openshift/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest-c9s.yaml
48 lines (38 loc) · 1.2 KB
/
manifest-c9s.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Manifest for CentOS Stream CoreOS 9
rojig:
license: MIT
name: scos
summary: CentOS Stream CoreOS 9
variables:
osversion: "c9s"
# Include manifests common to all RHEL and CentOS Stream versions
include:
- common.yaml
- overrides-c9s.yaml
repos:
- c9s-baseos
- c9s-appstream
# Eventually we should try to build these images as part of the c9s composes.
# In that case, the versioning should instead be exactly the same as the pungi
# compose ID.
automatic-version-prefix: "9.<date:%Y%m%d%H%M>"
mutate-os-release: "9"
packages:
- centos-stream-release
postprocess:
- |
#!/usr/bin/env bash
set -xeuo pipefail
cat > /tmp/scos-workarounds.cil << EOF
; https://issues.redhat.com/browse/RHEL-49735
(typeattributeset cil_gen_require afterburn_t)
(typepermissive afterburn_t)
; https://issues.redhat.com/browse/RHEL-38614
(typeattributeset cil_gen_require coreos_installer_t)
(typepermissive coreos_installer_t)
; https://issues.redhat.com/browse/RHEL-47033
(typeattributeset cil_gen_require systemd_network_generator_t)
(typepermissive systemd_network_generator_t)
EOF
/usr/sbin/semodule -i /tmp/scos-workarounds.cil
rm /tmp/scos-workarounds.cil