From b80f7a78b29cd15b155620a0ceec19e6bf2b11d2 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 23 Jun 2024 17:43:27 -0700 Subject: [PATCH] update readme further --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d72b2cc..321aca6 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,10 @@ fact, most builds may fail in mock due to loop devices being unusable. **Note**: SELinux must be set to permissive. **Note**: There may be cases where a build will fail in mock. If this is the -case, you will need to use `--isolation=simple`. +case, you may need to use `--isolation=simple`. **Note**: If you receive an error about loop devices while running in mock, run -this outside of mock instead. +this on the host instead. #### Live Image Example (EPEL) using mock @@ -93,3 +93,46 @@ mock environment. ``` % bash live-build.sh --live-image XFCE --output-dir /builddir/xfce ``` + +#### Live Image Example on Rocky Linux 9 without using mock + +``` +# Use SIG/Core +% dnf install rocky-release-core +% dnf install kiwi-cli git \ + dracut-kiwi-live \ + kiwi-systemdeps-{bootloaders,containers,core,disk-images,filesystems,image-validation,iso-media} + +% sudo setenforce 0 +% git clone https://git.resf.org/sig_core/rocky-kiwi-descriptions -b r9 +% cd rocky-kiwi-descriptions +% ln -sf configs/live-xfce.xml config.xml +% kiwi-ng --debug --type="iso" \ + --profile="XFCE-Live" \ + --color-output system \ + build \ + --description="./" \ + --target-dir /builddir/lmc +``` + +If you wish to use EPEL instead... + +``` +% dnf install epel-release -y +% crb enable +% dnf install kiwi-cli git \ + dracut-kiwi-live \ + kiwi-systemdeps-{bootloaders,containers,core,disk-images,filesystems,image-validation,iso-media} \ + distribution-gpg-keys + +% sudo setenforce 0 +% git clone https://git.resf.org/sig_core/rocky-kiwi-descriptions -b r9 +% cd rocky-kiwi-descriptions +% ln -sf configs/live-xfce.xml config.xml +% kiwi-ng --debug --type="iso" \ + --profile="XFCE-Live" \ + --color-output system \ + build \ + --description="./" \ + --target-dir /builddir/lmc +```