Difference between revisions of "Build Manjaro ISOs with buildiso"

adjustments for manjaro-tools 0.9.9
imported>Excalibur1234
imported>Excalibur1234
(adjustments for manjaro-tools 0.9.9)
Line 112: Line 112:
* ''xfce-overlay'': After every successful installation of your ISO (XFCE) the files and folders in here will get copied over.
* ''xfce-overlay'': After every successful installation of your ISO (XFCE) the files and folders in here will get copied over.
* ''isolinux'': Contains files important for booting your ISO. This includes isolinux.cfg file to start syslinux bootloader.
* ''isolinux'': Contains files important for booting your ISO. This includes isolinux.cfg file to start syslinux bootloader.
* ''mkinitcpio.conf'' holds the information of all needed kernel modules. If you want an ISO without plymouth you can create a symlink called <code>mkinitcpio.conf</code>, which links to <code>../shared/mkinitcpio-noplymouth.conf</code>.
* ''mkinitcpio.conf'' holds the information of all needed kernel modules.
* ''overlay'': Similar to ''xfce-overlay'', but it contains files and folders important to all Manjaro installations and LiveCDs.
* ''overlay'': Similar to ''xfce-overlay'', but it contains files and folders important to all Manjaro installations and LiveCDs.
* ''overlay-livecd'': Similar to ''xfce-overlay''. Files and folders in here will only get copied over to the LiveCD of your ISO.
* ''overlay-livecd'': Similar to ''xfce-overlay''. Files and folders in here will only get copied over to the LiveCD of your ISO.
Line 171: Line 171:
  initsys="systemd"
  initsys="systemd"
   
   
  displaymanager="lightdm"
# use multilib packages; x86_64 only
# multilib="true"
  displaymanager="sddm"
# Set to false to disable autologin in the livecd
# autologin="true"
# nonfree xorg drivers
# nonfree_xorg="true"
# use plymouth; initcpio hook
# plymouth_boot="true"
# use pxe boot; initcpio hook
pxe_boot="false"
   
   
  ################ install ################
  ################ install ################
   
   
  # unset defaults to given value
  # unset defaults to given value
  kernel="linux318"
  # kernel="linux318"
   
   
  # unset defaults to given value
  # unset defaults to given value
  # efi_boot_loader="grub"
  # efi_boot_loader="grub"
# set uefi partition size
# efi_part_size=31M
   
   
  # unset defaults to given value
  # unset defaults to given value
Line 187: Line 205:
  # names must match systemd service names
  # names must match systemd service names
  # start_systemd=('bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep')
  # start_systemd=('bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep')
 
  ...
  ...


This config file contains setting options. All default settings are commented. If you want to change them, uncomment them (remove the <code>#</code> symbol in front) and change it.
This config file contains setting options. All default settings are commented. If you want to change them, uncomment them (remove the <code>#</code> symbol in front) and change it.


E.g. you can change the installed kernel and display manager. You can even autostart systemd services here.
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>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>plymouth_boot=</code> lets you activate Plymouth (the graphics displayed during boot). Do not forget the <code> playmouth</code>  package in your package list.
* <code>pxe_boot=</code> activates PXE boot on your system.
* <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>start_systemd=</code> let's you set systemd services, which get started on the installed system and on the livecd. A similar setting is available for OpenRC.




Line 215: Line 242:
  ...
  ...


This file contains a list of package names, which will get installed on the your installed ISO (XFCE) and the LiveCD.
This file contains a list of packages, which will get installed on the your installed ISO (XFCE) and the LiveCD. This is a package list with Xfce specific packages (and packages you like to add to your custom Manjaro ISO) of multiple package lists in your ISO profile. The other package lists are more generic.


You can add or remove package names from this list as you like. You do not need to worry about dependencies when adding package names, just make sure the package name is spelled correctly and the package is available in the Manjaro repositories.
You can add or remove package names from this list as you like. You do not need to worry about dependencies when adding package names, just make sure the package name is spelled correctly and the package is available in the Manjaro repositories.
Line 221: Line 248:
<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> marks a package, which will only get installed on the 32bit version of your ISO (XFCE).  
<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).  
<code>>x86_64</code> marks a package, which will only get installed on the 64bit version of your ISO (XFCE).