Incomplete yafti module documentation
Looks like for using the yafti module requires creatiing some files in the file system. This is not explained in https://blue-build.org/reference/modules/yafti/
40 Replies
i think this is actually just a bug with us forgetting to
mkdir -p
the directory we are trying to copy the file to
it is not necessary to create a config file, as a plain default one is supplied
it is, however, highly suggested that you create your own config file
the default one isn't really maintained in any meaningful wayshall i fix it?
it's a one-line addition to yafti.sh
i have the file open right now, but if you want to create a PR to get your feet wet, sure
GitHub
modules/modules/yafti/yafti.sh at main · blue-build/modules
BlueBuild standard modules used for building your Atomic Images - blue-build/modules
in that case you can do it
hahah
i will be playing with this the whole weekend, probably i will report more bugs
great
after this builds you should try again https://github.com/blue-build/modules/actions/runs/10123485780
GitHub
fix(yafti): create yafti directory before attempting copy (#299) · ...
BlueBuild standard modules used for building your Atomic Images - fix(yafti): create yafti directory before attempting copy (#299) · blue-build/modules@af2db66
oh i have created my yafti.yml
yafti is not working after first boot
also if i launch it from terminal gives me this error
i have copy it on the folder it says and works, however it does not autostart which would be the ideal
you need to pass yafti the path to your config file
if the systemd service doesn't do that, that's a bug and should be fixed
Yafti works if i run it from the terminal but not in the first boot, any possible reason?
it should be started by your DE, so i'm not sure how to check the errors
~/.config/autostart/ublue-firstboot.desktop
where did you create it?this file does not exist
hmm
what about
/etc/profile.d/ublue-firstboot.sh
?
the autostart script expects it at /usr/share/ublue-os/firstboot/yafti.yml
neither it
i have this file yes
just to make sure; are you checking your repo or your booted system?
booted system
good good
i don't really know then
those files should be created by the module
ðŸ«
what about
/usr/etc/
in my recipe i only write this for yafti
what should i look for ?
/usr/etc/profile.d/ublue-firstboot.sh
nop
profile.d
?only ublue-os-just.sh
profile.d exists
okay, then check
ls /usr/share/ublue-os/firstboot/launcher
launcher
that looks about right
if you try running autostart.sh it should start yafti
unless you've already ran it and configured it to run only once
yep
hahaha
but it should still give output on the CLI
you can try deleting the file it checks to see if it's already run in .config, but i forget what it's called
it works from termnial
but now in the first boot
i ran "yafti" before and it worked
and now with the script again