aboutsummaryrefslogtreecommitdiffci
path: root/README.md
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-11-05 19:33:57 +0400
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-11-05 19:33:57 +0400
commit7354d6a49422fc1ba2f0fd69665e199d0028f4a0 (patch)
tree5396e2b8b8bcf2a72fe5f896c36a44cb2bc9f53e /README.md
parenta8d85f9a17478c01dd6fe9219722357ab0b2c849 (diff)
downloadkiwi-descriptions-7354d6a49422fc1ba2f0fd69665e199d0028f4a0.tar.gz
kiwi-descriptions-7354d6a49422fc1ba2f0fd69665e199d0028f4a0.zip
fix: reproduce rpm_transition_script for the kiwi domain to allow isof45
building with newer kiwi-ng and rpm
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 94d4266..c8def65 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ I bought this device as I viewed it as a great Linux GNOME tablet, but after sev
**The compiled ISOs can be downloaded [here](https://dist.sayag.it/fedora/45/aarch64).**
-This KIWI project is built mainly on the base of Fedora Workstation 45 (Pre-release) LiveCD ISO. Trying a stable version (the latest is Fedora 44 at the time of writing this) is possible, but not tested for now.
+This KIWI project is built mainly on the base of Fedora Workstation 45 LiveCD ISO.
If you want to compile this image manually, **the build arch must be `aarch64`**. It means that if you are on an `amd64` machine, you would have to use aarch64 instructions emulation tools like `binfmt`. Unfortunately, such a tool will drastically increase the compilation time.
@@ -34,6 +34,19 @@ To build this on Fedora Linux:
[]$ sudo ./kiwi-build --kiwi-file=Fedora.kiwi --image-type=iso --image-profile=Workstation-Live --output-dir ./outdir
```
+### SELinux issues
+
+In the combo of kiwi-ng 11.1.1 and rpm 6.1.0 (latest versions in Fedora 45 by November 5th 2026), rpm runs %sysusers scriptlets through an exec content of rpm_script_t, and with kiwi.te having no such grant, the host enforcement denies the domain transition, resulting in `setup` pkg, and many more, not getting installed inside the build environment.
+
+To fix the issue, reproduce rpm_transition_script for the kiwi domain. There is a script to do exactly this in `selinux/` domain. Do this to proceed with ISO build:
+
+```bash
+cd selinux
+checkmodule -M -m -o kiwi-rpm-script.mod kiwi-rpm-script.te
+semodule_package -o kiwi-rpm-script.pp -m kiwi-rpm-script.mod
+sudo semodule -i kiwi-rpm-script.pp
+```
+
## Feature matrix
| Hardware | State | Nuances |