Skip to content

zearp/pumice-rocky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pumice Rocky 10

See the main repo for more informaton and background here.

Quick build instructions

Getting ready

sudo dnf install -y podman git
sudo setenforce permissive

Clone the repo and edit/check default packages/files

git clone https://github.com/zearp/pumice-rocky && cd pumice-rocky
sudo nano config.xml && ls -lha root/

Entering container

sudo podman run --privileged --rm -it --network=host -v /dev:/dev -v $PWD:/code:z -w /code quay.io/rockylinux/rockylinux:10 /bin/bash

Download and set workers

rpm -i https://www.elrepo.org/elrepo-release-10.el10.elrepo.noarch.rpm
dnf -y install epel-release && dnf -y install kiwi policycoreutils dosfstools erofs-utils isomd5sum qemu-img xorriso && dnf -y --refresh update
sed -i "s/NPROC_PLACEHOLDER/$(nproc)/" config.xml

Build the iso and deduplicate iso files

kiwi-ng --type=iso --profile="Pumice" --color-output system build --description="." --target-dir ./build-tmp && kiwi-ng result bundle --target-dir ./build-tmp --bundle-dir ./outdir --id build
rm -rf ./build-tmp

If you want to build another delete the output folder with rm -rf outdir and don't exit here. Then make config or file changes in another shell for faster rebuilds. If you are don't just exit the container with the exit command. To rebuild just run the kiwi-ng commands again.

Final clean up

sudo rm -rf /replace/with/path/to/pumice-rocky
sudo podman system prune --all --volumes --force

About

Rocky Linux the way I like it

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors