veuxitandVasiliy Stelmachenok 94480e21a8 Implement building ISO in RAM and automatic removal of build directory (#67)
* feat: Implement building ISO in RAM

* feat: Implement removing build directory

* README: Remove build directory by default

* Use mktemp to create work directory

Co-authored-by: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com>

* Adapt cehcks for mktemp

* util-iso.sh: Fix typo

Co-authored-by: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com>

* util-iso.sh: Ensure safe removal of directory by quoting variable

Co-authored-by: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com>

* util-iso.sh: umount_fs first and then start removal

* util-iso.sh: Properly handle removal of work directory

---------

Co-authored-by: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com>
2025-11-20 10:13:41 +01:00
2024-11-05 22:02:16 +01:00
2025-08-24 11:01:04 +02:00
🔥 update
2021-08-31 04:16:36 +04:00
2022-07-13 00:09:22 +04:00
🔥 update
2021-08-31 04:16:36 +04:00
2022-07-13 00:09:22 +04:00
2022-07-12 01:12:32 +04:00
2023-03-01 01:56:23 +04:00

These are the basic needed files and folders to build CachyOS system.

buildiso

buildiso is used to build CachyOS ISO.

Arguments

$ ./buildiso.sh -h
Usage: buildiso [options]
    -c                 Disable clean work dir
    -r                 Disable building in RAM on systems with more than 23GB RAM
    -w                 Remove build directory (not the ISO) after ISO file is built
    -h                 This help
    -p <profile>       Buildset or profile [default: desktop]
    -v                 Verbose output to log file, show profile detail (-q)
  • Uses the same signature that normal repo and has no mirrors package to install.
sudo pacman -Syy

Install necessary packages:

sudo pacman -S archiso mkinitcpio-archiso git squashfs-tools grub --needed

Clone:

git clone https://github.com/cachyos/cachyos-live-iso.git cachyos-archiso
cd cachyos-archiso

Build

sudo ./buildiso.sh -p desktop -v -w

As the result iso appears at the out folder

S
Description
Community-built installer ISO for the Steam Machine, based on CachyOS and set up with Steamify. Not affiliated with CachyOS or Valve.
Readme GPL-3.0
3 MiB
0 Stars 1 Watchers 0 Forks
2026-10-02 15:04:34 +02:00
Languages
Shell 83.2%
QML 16.8%