Files
steamify-cachyos-live-iso/README.md
T
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

43 lines
1.0 KiB
Markdown

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.
```bash
sudo pacman -Syy
```
### Install necessary packages:
```bash
sudo pacman -S archiso mkinitcpio-archiso git squashfs-tools grub --needed
```
### Clone:
```bash
git clone https://github.com/cachyos/cachyos-live-iso.git cachyos-archiso
cd cachyos-archiso
```
### Build
```bash
sudo ./buildiso.sh -p desktop -v -w
```
As the result iso appears at the `out` folder