Difference between revisions of "Build Manjaro ISOs with buildiso"

imported>Fhdk
imported>Fhdk
Line 49: Line 49:


==Modifying an ISO profile==
==Modifying an ISO profile==
Start by copying the folder `iso-profiles` to your home folder.


The most common places to tweak and customize an ISO profile are the 3 folders marked above: ''desktop-overlay'', ''profile.conf'', ''Packages-Desktop'':
The most common places to tweak and customize an ISO profile are the 3 folders marked above: ''desktop-overlay'', ''profile.conf'', ''Packages-Desktop'':
Line 56: Line 58:
The ''desktop-overlay'' folder looks like this:
The ''desktop-overlay'' folder looks like this:


  ~ >>> tree /usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/etc                                           
  ~ >>> tree ~/iso-profiles/manjaro/xfce/desktop-overlay/etc                                           
  /usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/etc
  /usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/etc
  ├── fonts
  ├── fonts
Line 68: Line 70:
Go to this directory.
Go to this directory.


  /usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/etc/
  ~/iso-profiles/manjaro/xfce/desktop-overlay/etc/


Then create '''skel''' folder. This is where you can clone everything you see on your Desktop Screen to ISO.
Then create '''skel''' folder. This is where you can clone everything you see on your Desktop Screen to ISO.
Line 74: Line 76:
After the ISO has been successfully installed all files and folder in ''desktop-overlay'' folder get copied over to the installed system. This includes settings/config files but also themes and backgrounds/pictures.
After the ISO has been successfully installed all files and folder in ''desktop-overlay'' folder get copied over to the installed system. This includes settings/config files but also themes and backgrounds/pictures.


All files and folder in here will get copied to the home folder. Most hidden files and their structure in <code>/usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/etc/skel/</code> should be already familiar to you, because your home folder looks very similar.
All files and folder in here will get copied to the home folder. Most hidden files and their structure in <code>~/iso-profiles/manjaro/xfce/desktop-overlay/etc/skel/</code> should be already familiar to you, because your home folder looks very similar.


===Clone Custom Wallpaper Desktop===
===Clone Custom Wallpaper Desktop===
Line 131: Line 133:
Go to this directory in Thunar Root.
Go to this directory in Thunar Root.


/usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/
  ~/iso-profiles/manjaro/xfce/desktop-overlay/


Then create <code>usr/share/backgrounds</code> and place your Custom Wallpaper at this directory.
Then create <code>usr/share/backgrounds</code> and place your Custom Wallpaper at this directory.


  /usr/share/manjaro-tools/iso-profiles/manjaro/xfce/desktop-overlay/usr/share/backgrounds/
  ~/iso-profiles/manjaro/xfce/desktop-overlay/usr/share/backgrounds/


===profile.conf===
===profile.conf===
Line 222: Line 224:
The following settings are noteworthy:
The following settings are noteworthy:


* <code>initsys=</code> lets you choose between systemd and OpenRC. This setting is associated with the <code>>systemd</code> and <code>>openrc</code> flags in your package lists.
* <code>multilib=</code> setting belongs to the <code>>multilib</code> flag in your package lists. multilib will install basic 32bit libraries on 64bit systems. This increases compatibility for 32bit applications on 64bit systems.
* <code>multilib=</code> setting belongs to the <code>>multilib</code> flag in your package lists. multilib will install basic 32bit libraries on 64bit systems. This increases compatibility for 32bit applications on 64bit systems.
* <code>displaymanager=</code> sets the display / login manager your system uses. You need to list your display manager in your package list, too.
* <code>displaymanager=</code> sets the display / login manager your system uses. You need to list your display manager in your package list, too.
* <code>nonfree_xorg=</code> refers to proprietary graphics drivers.
* <code>nonfree_xorg=</code> refers to proprietary graphics drivers.
* <code>plymouth_boot=</code> lets you activate Plymouth (the graphics displayed during boot). Do not forget the <code> plymouth</code>  package in your package list.
* <code>netinstall=</code>: do not use
* <code>pxe_boot=</code> activates PXE boot on your system. Since manjaro-tools 15.1, PXE is enabled by default and this flag is no longer needed.
* <code>chrootcfg=</code>: do not use
 
* <code>netinstall=</code> activates an additional package selection in calamares. These packages will be downloaded and installed during the installation of the ISO (besides the packages in Packages-Desktop and Packages-Xfce). The list of packages gets chosen from [https://github.com/manjaro/calamares-netgroups this Github repository] according to your ISO profile. Look for a file called <code>packages-systemd.yaml</code>.
 
* <code>chrootcfg=</code>: If both <code>netinstall=true</code> and <code>chrootcfg=true</code> are set, the ISO will become a pure net install. This means that '''no''' packages from Packages-Desktop, Packages-Xfce, Packages-Mhwd, and Packages-Root will get installed during installation. Instead, Calamares offers a comfortable selection screen, where all packages (to be downloaded from a Manjaro mirror and installed on your system) can be selected. Please refer to the following guide for more detailed instructions: [[Build Manjaro Net-Install]]
 
* <code>kernel=</code> lets you set the installed kernel. Do '''not''' include any kernels in your package list! This setting is all you need.
* <code>kernel=</code> lets you set the installed kernel. Do '''not''' include any kernels in your package list! This setting is all you need.
* <code>enable_systemd=</code> let's you set systemd services, which get started on the installed system (and with a similar setting on the livecd). A similar setting is available for OpenRC.
* <code>enable_systemd=</code> let's you set systemd services, which get started on the installed system (and with a similar setting on the livecd).
* <code>enable_openrc=</code>: do not use


===Packages-Desktop===
===Packages-Desktop===
Line 525: Line 522:


<code>#</code> marks a comment. The rest of the line after the <code>#</code> symbol gets ignored.
<code>#</code> marks a comment. The rest of the line after the <code>#</code> symbol gets ignored.
<code>>i686</code> is a flag and marks a package, which will only get installed on the 32bit version of your ISO (XFCE).
<code>>x86_64</code> marks a package, which will only get installed on the 64bit version of your ISO (XFCE).


===Adding AUR packages===
===Adding AUR packages===
Anonymous user