Add SIG/Core example, note about isolation
This commit is contained in:
parent
9b2380341d
commit
b243596e80
36
README.md
36
README.md
@ -28,22 +28,50 @@ You can actually do this in mock pretty easily. You could also probably get
|
||||
this running in a podman container or otherwise. As of this writing, we
|
||||
haven't tried it yet. Theory says it should work.
|
||||
|
||||
Note that 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
|
||||
case, you will need to use `--isolation=simple`.
|
||||
|
||||
#### Live Image Example (EPEL)
|
||||
|
||||
The below makes an XFCE live image using EPEL packages.
|
||||
The below makes an XFCE live image using SIG/Core packages.
|
||||
|
||||
```
|
||||
# Use SIG/Core
|
||||
% git clone https://git.resf.org/sig_core/mock-rocky-configs
|
||||
% bash deploy.sh
|
||||
% mock -r rl-9-x86_64-core-infra --init
|
||||
% mock -r rl-9-x86_64-core-infra --install kiwi-cli git \
|
||||
dracut-kiwi-live \
|
||||
kiwi-systemdeps-{bootloaders,containers,core,disk-images,filesystems,image-validation,iso-media}
|
||||
|
||||
% sudo setenforce 0
|
||||
% mock -r rl-9-x86_64-core-infra --shell --enable-network
|
||||
% git clone https://git.resf.org/sig_core/rocky-kiwi-descriptions -b r9
|
||||
% cd rocky-kiwi-descriptions
|
||||
% sed -i 's/ZZVOLVERZZ/9/g ; s/ZZVERZZ/9/g' $(find . -name "*.xml")
|
||||
% 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
|
||||
```
|
||||
|
||||
The below uses EPEL instead if you do not wish to use SIG/Core.
|
||||
|
||||
```
|
||||
# Use EPEL
|
||||
% mock -r rocky+epel-9-x86_64 --init
|
||||
% mock -r rocky+epel-9-x86_64 --install kiwi-cli \
|
||||
% mock -r rocky+epel-9-x86_64 --install kiwi-cli git \
|
||||
dracut-kiwi-live \
|
||||
kiwi-systemdeps-{bootloaders,containers,core,disk-images,filesystems,image-validation,iso-media} \
|
||||
distribution-gpg-keys \
|
||||
epel-release
|
||||
|
||||
% sudo setenforce 0
|
||||
# Some builds require --isolation=simple -- Add it if you have issues
|
||||
% mock -r rocky+epel-9-x86_64 --shell --enable-network
|
||||
% git clone https://git.resf.org/sig_core/rocky-kiwi-descriptions -b r9
|
||||
% cd rocky-kiwi-descriptions
|
||||
|
Loading…
Reference in New Issue
Block a user