Difference between revisions of "Build Manjaro ISOs with buildiso"

more explanations
imported>Fhdk
imported>Excalibur1234
(more explanations)
Line 296: Line 296:


  ##########################################
  ##########################################
###### use this file in the profile ######
###### use this file in the profile ######
##########################################
##########################################
 
# use multilib packages; x86_64 only
# use multilib packages; x86_64 only
# multilib="true"
# multilib="true"
 
displaymanager="lightdm"
displaymanager="lightdm"
 
# Set to false to disable autologin in the livecd
# Set to false to disable autologin in the livecd
# autologin="true"
# autologin="true"
 
# nonfree mhwd drivers
# nonfree mhwd drivers
# nonfree_mhwd="true"
# nonfree_mhwd="true"
 
# use plymouth; initcpio hook
# use plymouth; initcpio hook
# plymouth_boot="true"
plymouth_boot="false"
 
# use pxe boot; initcpio hook
# use pxe boot; initcpio hook
pxe_boot="false"
pxe_boot="false"
 
# use core packages as defined in pkglist to use in basic profile
# use core packages as defined in pkglist to use in basic profile
# basic="false"
# basic="false"
 
# use extra packages as defined in pkglist to activate a full profile
# use extra packages as defined in pkglist to activate a full profile
extra="true"
extra="true"
 
################ install ################
################ install ################
 
# unset defaults to given value
# unset defaults to given value
# efi_boot_loader="grub"
# efi_boot_loader="grub"
 
# configure calamares for netinstall
# configure calamares for netinstall
# netinstall="false"
# netinstall="false"
 
# the default url for the netinstall.yaml
# the default url for the netinstall.yaml
# netgroups="https://raw.githubusercontent.com/manjaro/iso-profiles/master/shared/netgroups"
# netgroups="https://raw.githubusercontent.com/manjaro/iso-profiles/master/shared/netgroups"
 
# configure calamares to use chrootcfg instead of unpackfs
# configure calamares to use chrootcfg instead of unpackfs
# chrootcfg="false"
# chrootcfg="false"
 
# use geoip for localization
# use geoip for localization
# geoip='true'
# geoip='true'
 
# unset defaults to given value
# unset defaults to given values
# plymouth_theme=manjaro-elegant
# names must match systemd service names
enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep')
# unset defaults to given values
disable_systemd=('pacman-init')
# names must match systemd service names
 
enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep')
# unset defaults to given values,
disable_systemd=('pacman-init')
# names must match openrc service names
# enable_openrc=('acpid' 'bluetooth' 'cgmanager' 'consolekit' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager')
# unset defaults to given values,
# disable_openrc=()
# names must match openrc service names
 
# enable_openrc=('acpid' 'bluetooth' 'cgmanager' 'consolekit' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager')
# the same workgroup name if samba is used
# disable_openrc=()
# smb_workgroup=""
 
# the same workgroup name if samba is used
################# livecd #################
# smb_workgroup=""
 
# unset defaults to given value
################# livecd #################
# hostname="manjaro"
 
# unset defaults to given value
# unset defaults to given value
# hostname="manjaro"
# username="manjaro"
 
# unset defaults to given value
# unset defaults to given value
# username="manjaro"
# password="manjaro"
 
# unset defaults to given value
# the login shell
# password="manjaro"
# defaults to bash
# login_shell=/bin/bash
# the login shell
 
# defaults to bash
# unset defaults to given values
# login_shell=/bin/bash
# addgroups="video,audio,power,disk,storage,optical,network,lp,scanner,wheel"
 
# unset defaults to given values
# unset defaults to given values
# addgroups="video,audio,power,disk,storage,optical,network,lp,scanner,wheel"
# names must match systemd service names
# services in enable_systemd array don't need to be listed here
# unset defaults to given values
# enable_systemd_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live-net')
# names must match systemd service names
 
# services in enable_systemd array don't need to be listed here
# unset defaults to given values,
# enable_systemd_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live')
# names must match openrc service names
# services in enable_openrc array don't need to be listed here
# unset defaults to given values,
# enable_openrc_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live-net')
# names must match openrc service names
# services in enable_openrc array don't need to be listed here
# enable_openrc_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live')




Line 392: Line 389:
* <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> playmouth</code>  package in your package list.
* <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>pxe_boot=</code> activates PXE boot on your system.
* <code>pxe_boot=</code> activates PXE boot on your system.
* <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 ISO installation. Only packages present in [https://github.com/manjaro/calamares-netgroups this Github repository] in a file called <code>chrootcfg-systemd.yaml</code> will get installed. Calamares offers a comfortable selection screen, where all packages (to be installed on your system) can be selected.
* <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>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.
* <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.


===Packages-Desktop===
===Packages-Desktop===
Line 677: Line 676:
</pre>
</pre>


This file contains a list of packages, which will get installed on 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.
This file contains a list of packages, which will get installed on your installed ISO (XFCE) '''and''' the LiveCD (the packages in Packages-Live file only get installled on the live ISO). 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 709: Line 708:


=Build your ISO=
=Build your ISO=
Open Terminal and enter this command to Root Terminal.
su
Navigate to <code>manjaro-tools</code> folder:
cd /usr/share/manjaro-tools/


Build your ISO with the following command:
Build your ISO with the following command: