Difference between revisions of "Manjaro-tools"
→buildiso: add examples
imported>Aaditya |
imported>Aaditya |
||
Line 213: | Line 213: | ||
-q Query settings and pretend build | -q Query settings and pretend build | ||
-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: | |||
$ buildiso -p xfce-openbox-openrc/ -b stable -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: stable | |||
-> chroots_iso: /mnt/datalinux2/manjaro-tools/buildiso | |||
==> ARGS: | |||
-> clean_first: true | |||
-> clean_cache_xorg: true | |||
-> clean_cache_lng: true | |||
-> clean_cache_iso: true | |||
-> images_only: false | |||
-> iso_only: false | |||
==> PATHS: | |||
-> sets_dir_iso: /etc/manjaro-tools/sets/iso | |||
-> cache_dir_iso: /mnt/datalinux2/manjaro-tools/cache/iso | |||
-> cache_dir_xorg: /mnt/datalinux2/manjaro-tools/cache/xorg/x86_64 | |||
-> cache_dir_lng: /mnt/datalinux2/manjaro-tools/cache/lng/x86_64 | |||
==> IMAGES SETTINGS: | |||
-> manjaro_kernel: linux318 | |||
-> manjaro_version: 2015.03 | |||
-> plymouth_theme: manjaro-elegant | |||
==> ISO SETTINGS: | |||
-> iso_label: MJRO0812 | |||
-> iso_version: openrc-2015-03-01 | |||
-> code_name: Ascella | |||
==> LIVECD: | |||
-> username: manjaro | |||
-> password: manjaro | |||
-> addgroups: video,audio,power,disk,storage,optical,network,lp,scanner,wheel | |||
-> hostname: manjaro | |||
==> 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 | |||
-> start_openrc: syslog-ng cronie acpid alsasound dbus consolekit wicd bluetooth | |||
-> start_openrc_live: livecd mhwd-live pacman-init pacman-boot | |||
To actually build the ISO: | |||
$ buildiso -p xfce-openbox-openrc/ -b stable | |||
==> Start building [xfce-openbox-openrc/] | |||
--> Profile: [xfce-openbox-openrc/] ... | |||
-> Packages-Custom: Packages-Xfce | |||
==> Cleaning up ... | |||
-> Deleting chroot 'root-image'... | |||
-> Deleting chroot 'xfce-image'... | |||
-> Cleaning [/mnt/datalinux2/manjaro-tools/cache/xorg/x86_64] ... | |||
-> Cleaning [/mnt/datalinux2/manjaro-tools/cache/lng/x86_64] ... | |||
--> Loading Packages: [Packages] ... | |||
==> Prepare [Base installation] (root-image) | |||
==> mkiso : Configuration Settings | |||
-> working directory: /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc//x86_64 | |||
-> image name: none | |||
-> pacman_mirrors: /usr/share/manjaro-tools/pacman-mirrors-stable.conf | |||
==> Creating install root at /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/root-image | |||
==> Installing packages to /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/root-image | |||
:: Synchronizing package databases... | |||
core 132.7 KiB 202K/s 00:01 [##############################################] 100% | |||
extra 1916.0 KiB 939K/s 00:02 [##############################################] 100% | |||
community 2.8 MiB 524K/s 00:05 [##############################################] 100% | |||
multilib 140.9 KiB 217K/s 00:01 [##############################################] 100% | |||
... | |||
... | |||
... | |||
-> Cleaning up what we can | |||
warning: database file for 'core' does not exist | |||
warning: database file for 'extra' does not exist | |||
warning: database file for 'community' does not exist | |||
warning: database file for 'multilib' does not exist | |||
warning: database file for 'openrc-eudev' does not exist | |||
-> Copying overlay ... | |||
==> Done [Base installation] (root-image) | |||
--> Loading Packages: [Packages-Xfce] ... | |||
==> Prepare [xfce installation] (xfce-image) | |||
-> mount [root-image] on [xfce-image] | |||
==> mkiso : Configuration Settings | |||
-> working directory: /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc//x86_64 | |||
-> image name: none | |||
-> pacman_mirrors: /usr/share/manjaro-tools/pacman-mirrors-stable.conf | |||
==> Creating install root at /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/xfce-image | |||
==> Installing packages to /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/xfce-image | |||
:: Synchronizing package databases... | |||
... | |||
... | |||
... | |||
Generation complete. | |||
-> Cleaning up what we can | |||
warning: database file for 'core' does not exist | |||
warning: database file for 'extra' does not exist | |||
warning: database file for 'community' does not exist | |||
warning: database file for 'multilib' does not exist | |||
warning: database file for 'openrc-eudev' does not exist | |||
-> Copying xfce-overlay ... | |||
==> Configuring [xfce-image] | |||
-> Configuring Displaymanager ... | |||
-> Configured: lxdm | |||
--> Congiguring OpenRC .... | |||
-> Setting syslog-ng ... | |||
-> Setting cronie ... | |||
-> Setting acpid ... | |||
-> Setting alsasound ... | |||
-> Setting dbus ... | |||
-> Setting consolekit ... | |||
-> Setting wicd ... | |||
-> Setting bluetooth ... | |||
--> Done configuring OpenRC | |||
==> Done configuring [xfce-image] | |||
-> unmount xfce-image | |||
==> Done [xfce installation] (xfce-image) | |||
--> Loading Packages: [Packages-Livecd] ... | |||
==> Prepare [livecd-image] | |||
-> mount [livecd-image] on [xfce-image] | |||
-> append [root-image] on [livecd-image] | |||
==> mkiso : Configuration Settings | |||
-> working directory: /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc//x86_64 | |||
-> image name: none | |||
-> pacman_mirrors: /usr/share/manjaro-tools/pacman-mirrors-testing.conf | |||
==> Creating install root at /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/livecd-image | |||
==> Installing packages to /mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/livecd-image | |||
:: Synchronizing package databases... | |||
... | |||
... | |||
... | |||
==> Making bootable image | |||
-> Removing existing bootable image... | |||
==> Creating ISO image... | |||
xorriso 1.3.8 : RockRidge filesystem manipulator, libburnia project. | |||
Drive current: -outdev 'stdio:/mnt/datalinux2/manjaro-tools/cache/iso/manjaro-xfce-openrc-2015-03-01-x86_64.iso' | |||
Media current: stdio file, overwriteable | |||
Media status : is blank | |||
Media summary: 0 sessions, 0 data blocks, 0 data, 62.7g free | |||
Added to ISO image: directory '/'='/mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/iso' | |||
xorriso : UPDATE : 115 files added in 1 seconds | |||
xorriso : UPDATE : 115 files added in 1 seconds | |||
xorriso : NOTE : Copying to System Area: 432 bytes from file '/mnt/datalinux2/manjaro-tools/buildiso/xfce-openbox-openrc/x86_64/iso/isolinux/isohdpfx.bin' | |||
libisofs: NOTE : Aligned image size to cylinder size by 42 blocks | |||
xorriso : UPDATE : 2.75% done | |||
xorriso : UPDATE : 16.40% done | |||
xorriso : UPDATE : 27.90% done, estimate finish Sun Mar 01 23:10:20 2015 | |||
xorriso : UPDATE : 93.66% done | |||
xorriso : UPDATE : 99.20% done | |||
xorriso : UPDATE : 99.46% done | |||
xorriso : UPDATE : 99.47% done | |||
xorriso : UPDATE : 99.67% done | |||
xorriso : UPDATE : 99.68% done | |||
ISO image produced: 343552 sectors | |||
Written to medium : 343552 sectors at LBA 0 | |||
Writing to 'stdio:/mnt/datalinux2/manjaro-tools/cache/iso/manjaro-xfce-openrc-2015-03-01-x86_64.iso' completed successfully. | |||
==> Done [Build ISO] | |||
==> Creating [md5sum] ... | |||
-> md5sum: 78f4b335fc593b7df7edff46a4d91b5d manjaro-xfce-openrc-2015-03-01-x86_64.iso | |||
==> Done [md5sum] | |||
--> Time compress_images: 9.43 minutes | |||
==> Finished building [xfce-openbox-openrc/] | |||
--> Time make_profile: 13.77 minutes | |||
To build an ISO while retaining the previously downloaded cache of Xorg packages, the '''-x''' option can be used: | |||
$ buildiso -p xfce-openbox-openrc/ -b stable -x -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: stable | |||
-> chroots_iso: /mnt/datalinux2/manjaro-tools/buildiso | |||
==> ARGS: | |||
-> clean_first: true | |||
-> clean_cache_xorg: false | |||
-> clean_cache_lng: true | |||
-> clean_cache_iso: true | |||
-> images_only: false | |||
-> iso_only: false | |||
... | |||
... | |||
= Further reading = | = Further reading = |