Difference between revisions of "Manjaro-tools"

imported>Aaditya
imported>Aaditya
Line 214: Line 214:
     -h                This help
     -h                This help


To query build an ISO ('''-q''' option), for example from the xfce-openbox-openrc profile (obtained from [https://github.com/manjaro/manjaro-tools-iso-profiles here]), the following command can be used:
The profiles can be obtained from [https://github.com/manjaro/manjaro-tools-iso-profiles here], and this is what the current folder looks like:
 
$ ls
cinnamon      kde          kde-openrc  lxqt-openrc  netbook    openbox-legacy  shared  xfce-minimal
enlightenment  kde5        lxde        mate        net-openrc  pekwm-openrc    sysmenu  xfce-openbox-openrc
gnome          kde-minimal  lxqt        net          openbox    README.md      xfce
 
To query build an ISO ('''-q''' option), for example the xfce-openbox-openrc profile, the following command can be used:


  $ buildiso -p xfce-openbox-openrc/ -b stable -q
  $ buildiso -p xfce-openbox-openrc/ -b stable -q
Line 409: Line 416:
  ...
  ...
  ...
  ...
Supposing something only changed in config, like a setting, instead of building the whole ISO from scratch, the ISO build directory can be modified and the ISO can be rebuilt. For example, supposing one changed ''xfce-overlay/etc/skel/.conkyrc'' in the config, one can go into the work directory, modify the said file, and rebuild the ISO using the '''-cs''' option.
The work directory can be found using the '''-q''' option:
$ buildiso -p xfce-openbox-openrc/ -q
==> manjaro-tools
  -> version: 0.9.6.4
  -> user_config: /home/aaditya/.config/manjaro-tools.conf
==> PROFILE:
  -> buildsets: community|default|official|openrc
  -> buildset_iso: xfce-openbox-openrc/
  -> is_buildset: false
==> OPTIONS:
  -> arch: x86_64
  -> branch: unstable
  -> chroots_iso: /mnt/datalinux2/manjaro-tools/buildiso
...
...
==> BUILD QUEUE:
--> Profile: [xfce-openbox-openrc/] ...
  -> Packages-Custom: Packages-Xfce
  -> initsys: openrc
  -> displaymanager: lxdm
  -> is_plymouth: false
  -> pacman_conf: pacman-multilib.conf
  '''-> work_dir: /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc//x86_64'''
  -> iso_file: manjaro-xfce-openrc-2015-03-01-x86_64.iso
(work directory highlighted in bold)
The required file can be edited as root, for example:
$ sudo nano /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc//x86_64/xfce-image/etc/skel/.conkyrc
Then the ISO can be rebuilt as:
$ buildiso -p xfce-openbox-openrc/ -cs


= Further reading =
= Further reading =
Anonymous user