Difference between revisions of "Build Manjaro ISOs with buildiso"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Excalibur1234 |
imported>Excalibur1234 |
||
Line 53: | Line 53: | ||
git pull origin master | git pull origin master | ||
=ISO profile= | |||
You can adjust everything you want to change in your ISO (add packages or other files, adjust settings, etc.) in your profile folder located here: | |||
manjaro-tools-iso-profiles/openbox/ | |||
If you want to know how the folder structure in your profile folder works, read: | |||
* (only section 1 and 3) of the <code>README.md</code> file [https://github.com/manjaro/manjaro-tools here] | |||
* [https://wiki.manjaro.org/index.php?title=Manjaroiso#Understanding_ManjaroISO_Profiles this Wiki] (not the part about installing ''manjaroiso'') | |||
* [https://wiki.manjaro.org/index.php?title=Manjaro-tools#Overview this Wiki section] | |||
When reading about ''manjaroiso'' (either in the link given above or in other places), please note the differences between the old ''manjaroiso'' and the new ''manjaro-tools''. The most obvious are in your profile directory <code>manjaro-tools-iso-profiles/openbox</code>: | |||
* these files are not present anymore: <code>isolinux</code>, <code>isomounts</code>, <code>syslinux</code> | |||
* the <code>options.conf</code> file has completely changed and its new equivalent is called <code>profile.conf</code> | |||
* the <code>pacman-i686.conf</code> and <code>pacman-x86_64.conf</code> files have been renamed to <code>pacman-default.conf</code> and <code>pacman-multilib.conf</code> | |||
If you want to add AUR packages to your ISO, you need to create a local repository and add it to the corresponding <code>pacman.conf</code> file. Read here how to do it for ''manjaroiso'' (keep the changes between ''manjaroiso'' and ''manajro-tools'' in mind): [[How to install AUR packages in ManjaroISO]] | |||
Line 74: | Line 96: | ||
=ISO | =Build your ISO= | ||
Navigate to the <code>manjaro-tools-iso-profiles</code> folder: | |||
cd manjaro-tools-iso-profiles | |||
Query build your ISO. This gives you a nice overview of what is going to happen: | |||
sudo buildiso -p openbox -q | |||
You can use arguments for more build options. Here a short example: | |||
sudo buildiso -p openbox -a i686 -b unstable -q | |||
Then, start to build your ISO for real (just remove the <code>-q</code> argument): | |||
sudo buildiso -p openbox | |||
If the build process fails with an error, start it again. | |||
Attention: The build process needs at least 10min to complete or much longer when you are using HDDs, slow CPUs, or large ISOs. | |||
You can find other examples of builds using different arguments for ''buildiso'' [https://wiki.manjaro.org/index.php?title=Manjaro-tools#buildiso here]. | |||
When the build process finishes successfully, the ISO file(s) will appear in this folder: | |||
/var/cache/manjaro-tools/iso/ | |||
=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 /opt/buildiso/openbox/ | |||
To clean your system of packages not installed on your system, do: | |||
paccache -ruk0 | |||
You can also manually look into | |||
/var/cache/manjaro-tools/ | |||
and delete folders or files to your liking. | |||
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 your own Manjaro ISO. | |||
=Questions?= | |||
When you have questions about ''buildiso'', please search for answers in these forum subsections: | |||
* [https://forum.manjaro.org/index.php?board=52.0 Support for Manjaro-Tools] | |||
* [https://forum.manjaro.org/index.php?board=27.0 Support for ManjaroISO] | |||
Here are some more tutorials of ''manjaro-tools'': | |||
[ | * [https://forum.manjaro.org/index.php?topic=20167.0 How to use Manjaro-Tools] | ||
https://forum.manjaro.org/index.php? | * [[Manjaro-tools]] | ||
https:// | * [https://github.com/manjaro/manjaro-tools manjaro-tools on GitHub] | ||
* [https://forum.manjaro.org/index.php?topic=21976.0 buildiso tutorial] | |||
https://forum.manjaro.org/index.php?topic= | * [https://forum.manjaro.org/index.php?topic=20451.0 How To build manjaro ISOs (for beginners)] | ||
https://forum.manjaro.org/index.php?topic= | |||
Or ask on IRC: | |||
Server: <code>irc.freenode.net</code> | |||
Channel: <code>#manjaro</code> | |||
[ | [[Category:Contents Page]] |