update readme further

This commit is contained in:
Louis Abel 2024-06-23 17:43:27 -07:00
parent 0c06d0bffd
commit b80f7a78b2
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -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**: SELinux must be set to permissive.
**Note**: There may be cases where a build will fail in mock. If this is the **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 **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 #### Live Image Example (EPEL) using mock
@ -93,3 +93,46 @@ mock environment.
``` ```
% bash live-build.sh --live-image XFCE --output-dir /builddir/xfce % 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
```