mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
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>
This commit is contained in:
1 parent
2a25ad08d6
commit
94480e21a8
4 files changed
+26
-3
No files matched your search
@@ -10,6 +10,8 @@ buildiso is used to build CachyOS ISO.
|
||||
$ ./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)
|
||||
@@ -34,7 +36,7 @@ cd cachyos-archiso
|
||||
|
||||
### Build
|
||||
```bash
|
||||
sudo ./buildiso.sh -p desktop -v
|
||||
sudo ./buildiso.sh -p desktop -v -w
|
||||
```
|
||||
|
||||
As the result iso appears at the `out` folder
|
||||
Reference in new issue
Block a user