Skip to content

mbugni/centos-remix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CentOS Remix

Purpose

This project is a CentOS Stream Remix (like a Fedora Remix) and aims to offer a complete system for multipurpose usage with localization support. You can download a live image and try the software, and then install it in your PC if you want. You can also customize the image starting from available scripts.

Other goals of this remix are:

  • adding common extra-repos
  • supporting multimedia and office (printers and scanners)
  • Flatpak apps usage

How to build the LiveCD

See a detailed description about how to build the live media.

Note

If selinux is on, disable it during the build process:

$ sudo setenforce 0

Prepare the working directories

Clone the project into your <source-path> to get sources:

$ git clone https://github.com/mbugni/centos-remix.git /<source-path>

Choose or create a <target-path> folder where to put results.

Prepare the build container

Install Podman:

$ sudo dnf --assumeyes install podman

Create the container for the build enviroment:

$ sudo podman build --file=/<source-path>/Containerfile --tag=livebuild:el9

Initialize the container by running an interactive shell:

$ sudo podman run --privileged --network=host -it --volume=/dev:/dev:ro \
--volume=/<source-path>:/live/source:ro --volume=/<target-path>:/live/target \
--name=livebuild-el9 --hostname=livebuild-el9 livebuild:el9 /usr/bin/bash

The container can be reused and upgraded multiple times. See Podman docs for more details.

To enter again into the build container:

$ sudo podman start -ia livebuild-el9

Build the image

First, start the build container if not running:

$ sudo podman start livebuild-el9

Choose a variant (eg: KDE workstation with italian support) that corresponds to a profile (eg: Workstation-it_IT).

Available profiles/variants are:

  • Minimal (console only, mainly for testing)
  • Desktop (minimal KDE environment with basic tools)
  • Workstation (KDE environment with more features like printing and scanning support)

For each variant you can append -it_IT to get italian localization (eg: Desktop-it_IT).

Build the .iso image by running the kiwi-ng command:

$ sudo podman exec livebuild-el9 kiwi-ng --profile=Workstation-it_IT --type=iso \
--shared-cache-dir=/live/target/cache system build \
--description=/live/source/kiwi-descriptions --target-dir=/live/target

The build can take a while (30 minutes or more), it depends on your machine performances.

Remove unused resources when don't need anymore:

$ sudo podman container rm --force livebuild-el9
$ sudo podman image rm livebuild:el9

Transferring the image to a bootable media

You can use a tool like Ventoy to build multiboot USB devices, or simply transfer the image to a single USB stick using the dd command:

$ dd if=/<target-path>/CentOS-Remix.x86_64-<version>.iso of=/dev/<stickdevice>

Post-install tasks

After installation, you can remove live system resources to save space by running:

$ source /usr/local/libexec/remix/livesys-cleanup

A Flatpak quick setup script is provided:

$ source /usr/local/libexec/remix/flatpak-setup

Bandiera italiana Per gli utenti italiani

Questo è un Remix di CentOS Stream (analogo ad un Remix di Fedora) con il supporto in italiano per lingua e tastiera. Nell'immagine .iso che si ottiene sono già installati i pacchetti e le configurazioni per il funzionamento in italiano delle varie applicazioni (come l'ambiente grafico, i repo extra etc).

Il remix ha come obiettivi anche:

  • aggiunta dei repository comuni
  • supporto per applicazioni multimediali e da ufficio (stampanti e scanner)
  • utilizzo delle applicazioni Flatpak

Change Log

All notable changes to this project will be documented in the CHANGELOG.md file.

The format is based on Keep a Changelog.