iso-profiles-settings/README.md

72 lines
2.2 KiB
Markdown
Raw Normal View History

2019-11-06 23:12:50 +00:00
# TROMjaro ISO profile
2019-07-07 23:59:36 +00:00
2019-11-06 23:12:50 +00:00
Configuration to build latest TROMjaro ISO
2019-07-08 16:52:03 +00:00
2019-11-07 01:21:03 +00:00
2019-11-06 23:12:50 +00:00
## Prerequisites
2019-10-30 23:09:31 +00:00
2022-06-16 12:36:24 +00:00
Install the following packages
2019-11-06 23:12:50 +00:00
```
2022-06-16 12:36:24 +00:00
manjaro-tools-base-git
manjaro-tools-iso-git
2019-11-06 23:12:50 +00:00
```
Download the latest TROMjaro Profile:
```
2022-06-16 12:36:24 +00:00
git clone https://git.trom.tf/TROMjaro/iso-profiles-settings
2019-11-06 23:12:50 +00:00
```
2022-06-16 12:36:24 +00:00
Choose where to clone/copy it. Let's name that `path`.
2019-11-07 01:21:03 +00:00
2019-11-06 23:12:50 +00:00
2022-06-16 12:36:24 +00:00
# Build it
2019-11-06 23:12:50 +00:00
2022-06-16 12:36:24 +00:00
Before building it, we have to copy the `/etc/manjaro-tools/` folder to the `.config` folder in the Home directory. So it will look like `.config/manjaro-tools/`
2019-11-06 23:12:50 +00:00
2022-06-16 12:36:24 +00:00
In that folder we have the file `iso-profiles.conf`. Make sure you add this to the file, to basically tell the ISO Tools where to get the profile files from: `run_dir=path/iso-profiles/iso-profiles-settings`
2019-11-06 23:12:50 +00:00
2022-06-16 12:36:24 +00:00
Replace `path` with the path where you have cloned our ISO Profile.
2019-11-06 23:12:50 +00:00
2022-06-16 12:36:24 +00:00
Lastly, open the terminal and do `buildiso -p xfce`
2019-11-06 23:12:50 +00:00
When the build process finishes successfully, the ISO file and the package list will appear in this folder:
```
/var/cache/manjaro-tools/iso/
```
2022-06-16 12:36:24 +00:00
2019-11-06 23:12:50 +00:00
## Cleaning your hard drive
After a successful or failed build, you can get rid of most data (the "raw" ISO with all downloaded packages) by deleting this folder:
```
sudo rm -r /var/lib/manjaro-tools/buildiso/
```
To clean your system of packages files of packages not installed on your system (this includes all the package files downloaded for your custom ISO):
```
paccache -ruk0
```
You can also manually look into
```
/var/cache/manjaro-tools/
```
and delete folders or files to your liking. If you want to delete all ISO images, package lists, and cached Xorg packages do:
```
sudo rm -r /var/cache/manjaro-tools/
```
Please remember that all these packages and files are saved for your convenience. If you clean your system like suggested above, you have to download **all** packages and build **all** images again the next time you want to build TROMjaro.
By default, your manjaro-tools.conf file is saved. If you want to delete it, use
```
rm -r ~/.config/manjaro-tools
```
## Acknowledgments
* [Manjaro](https://manjaro.org/)
* [Manjaro gitlab](https://gitlab.manjaro.org/profiles-and-settings/iso-profiles)
* [Build Manjaro ISOs with buildiso](https://wiki.manjaro.org/Build_Manjaro_ISOs_with_buildiso)
* [Archlinux](https://www.archlinux.org/)