Skip to main content
Topic: artools 0.12.6-1 - discussion (Read 337 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

artools 0.12.6-1 - discussion

To be clear, buildiso works just fine.  There are only some iregularities that may need a simple ironing out and maybe a feature request or three. :)

- Two switches have changed or maybe are somewhat inaccurate:

1)
Code: [Select]
buildiso -h
/snip/
Code: [Select]
-x Build images only

This seems inaccurate;  The -x switch only builds boot images.  It doesn't build the .sfs files or a bootable image
Code: [Select]
artools/buildiso/$profile/iso/
        boot  efi  efi.img

Maybe instead the help for -x could  read:
Code: [Select]
-x Build boot images only

The .sfs images are never built if -x switch called or until a second run with -zc switches added
Code: [Select]
buildiso -p $profile -zc

2)
-q switch was at one time very verbose (profile mine):
Code: [Select]
 buildiso -p plasma -vq
==> ARTOOLS
  -> VERSION: 0.10
  -> config: ~/.config/artools/artools.conf
==> OPTIONS:
  -> PROFILE: plasma
  -> INITSYS: openrc
  -> REPOSITORY: buildiso
==> ARGS:
  -> clean_first: true
  -> images_only: false
  -> iso_only: false
  -> persist: false
==> ISO SETTINGS:
  -> ISO_VERSION: 20181103
==> BUILD:
  -> iso_file: artix-plasma-openrc-20181103-x86_64.iso
  -> AUTOLOGIN: true
  -> HOST_NAME: acer14
  -> USER_NAME: artix
  -> PASSWORD: artix
  -> ADDGROUPS: video,power,storage,optical,network,lp,scanner,wheel,users,log
  -> SERVICES_LIVE: artix-live pacman-init
  -> SERVICES: acpid bluetooth cronie cupsd syslog-ng NetworkManager xdm

Artools 0.12.6-1 on the other hand seems very tight lipped ( and -v switch is gone :( )

Code: [Select]
]$ buildiso -p base -xlq
==> OPTIONS:
  -> PROFILE: base
  -> INITSYS: openrc
==> ISO SETTINGS:
  -> ISO_VERSION: 20190318-2004
==> BUILD:
  -> iso_file:
  -> AUTOLOGIN:
  -> HOST_NAME:
  -> USER_NAME:
  -> PASSWORD:
  -> ADDGROUPS:
  -> SERVICES_LIVE:
  -> SERVICES:

Note that this does not seem to have any effect on the final output - buildiso still works and respects your options.

3) Feature request:- New switch!
- s (for .sfs) switch to delete and rebuild live, desktop or root.sfs images as per your need.
Code: [Select]
-sD (desktopfs.sfs)
-sL ( livefs.sfs)
-sR (rootfs.sfs)

It seems unclear that if you want to rebuild a second time after -zc switches you must delete .sfs files (and sums) yourself.

In the end - there are no problems to report - only some suggested changes or additions.  Maybe even a useful discussion comes about?
Old-timer penguin

Re: artools 0.12.6-1 - discussion

Reply #1
Thanks for your extensive testing and reporting. You should upload plasma profile somewhere, other users might find it useful.

Re: artools 0.12.6-1 - discussion

Reply #2
As of artools 12.7-3 the -q switch is again back to verbose.  This is good!
Code: [Select]
$ buildiso -p base -q
==> OPTIONS:
  -> PROFILE: base
  -> INITSYS: openrc
==> ISO SETTINGS:
  -> ISO_VERSION: 20190410-1537
==> BUILD:
  -> iso_file: artix-base-openrc-20190410-1537-x86_64.iso
  -> AUTOLOGIN: false
  -> HOST_NAME: artix
  -> USER_NAME: artix
  -> PASSWORD: artix
  -> ADDGROUPS: video,power,optical,network,lp,scanner,wheel,users,log
  -> SERVICES_LIVE: artix-live pacman-init
  -> SERVICES: acpid bluetooth cronie cupsd syslog-ng NetworkManager
Old-timer penguin