blue-build / modules

BlueBuild standard modules used for building your Atomic Images
Apache License 2.0
22 stars 26 forks source link

yafti not starting // wrong config location #182

Closed nobodywatchin closed 3 months ago

nobodywatchin commented 3 months ago

I've added yafti to /usr/share/ublue-os/firstboot

However nothing seems to happen, when I enter yafti in command line I get the following: $ yafti Usage: yafti [OPTIONS] [CONFIG] Try 'yafti --help' for help. ╭─ Error ────────────────────────────────────────────────────────────────────────────────────╮ │ Invalid value for '[CONFIG]': '/etc/yafti.yml': No such file or directory │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ $

xynydev commented 3 months ago

The yafti.yml configuration file is at /usr/share/ublue-os/firstboot/yafti.yml. This isn't where the configuration file is by default, but rather follows the convention set by other custom images that use Yafti.

The correct command to start Yafti would then be /usr/bin/yafti /usr/share/ublue-os/firstboot/yafti.yml. Or: /usr/share/ublue-os/firstboot/launcher/autostart.sh.

This stuff may change once the rewritten Yafti is published by Universal Blue.