mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
* 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>
1.0 KiB
1.0 KiB
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