https://blue-build.org/ logo
pile up of questions
# questions
c
Hi all, I've been using BB for a while now and have most of the major stuff sorted out, like apps, drivers, and gschemas, however, I've had a bunch of little things pile up that I could use some assistance with. Thanks in advance. Possible bug: My main method of installing my OS is by creating an ISO and then flashing it to a USB stick. Everything is completely normal during the build and installation process, except that when I click the "Complete" button at the end of the installation, the screen goes white and the system hangs at a white screen. Rebooting the PC manually via the reset/power button is required. Booting to the installed OS works normally and there are no other issues. This happens on all hardware I've tried, including a 2015 iMac and a Lenovo laptop with a Core Ultra 5. After the initial user creation, only a few apps are available to open (Nautilus, Settings and a couple others.) This is likely because I removed all the others, but I was expecting the latest version of the flatpaks specified in my recipe would be included in the image. This is likely intended behaviour, though the system must update and download flatpaks right after installation and is spartan until this completes. Is there anything I can change to improve this? Speaking of updates... what is the recommended way of updating the OS? I realize 'ujust update' is available, but this isn't friendly for people like moms or grandmas. Does gnome-software still function or can we expect a custom app to the likes of Bazzite Updater? Is there a way in the recipe/modules/scripts to set the timeout on the grub2 menu to 0? Purely for aesthetic purposes and to reduce potential confusion for Linux noobs, like my family, as I hope to port them over to my build eventually. Is it possible to disable Gnome's dynamic workspaces and set the default number of workspaces in the recipe/scripts? I'd like to include the cli tool "dnglab" without installing brew. What's the best way to do this?
b
I can elaborate on some of this later, but the TLDR is this: The installer issue you ran into is actually a bug with Fedora's standalone apache (or anaconda? I forgot what it was called) installer and not anything to do with blue build. I always power off the system from tty2 instead and that's worked for me. The flatpak thing is intentional, all flatpaks will install and update automatically if they're in the build, but they're not going to be installed on a brand new system immediately. I'm not sure if theres a way to work around this, maybe with scripting, but I'm not sure. Updates happen automatically in the background and are applied on the next reboot, when it deploys a new image. Updates are run daily, but you can change the update frequency by modyfiing the systemd modules that handle when and how often updates happen. Gnome-software works, but only for flatpaks. I disabled all rpm repos on my build to avoid the confusion your talking about so end users can only install flatpaks from gnome software unless they know how to re enabled the repos (which means they likely know what they're doing anyway). I made a custom systemd module on my build that copies a file from /etc/default/grub/user.cfg into the correct boot directory to change the grub timeout to hidden and also 0. Atomic images don't handle grub the same way a normal Fedora install does, so I can elaborate on that more if you need help. You can set the number of workspaces to a fixed number and disable dynamic workspaces by modyfiing the dconf settings in /etc/dconf/db. That last part I have no idea, I don't use brew much or that cli tool. Maybe build from source instead?
Not so much TLDR as I wanted, but I can answer more questions later.
A lot of the stuff you mentioned are things I did with my own silverblue base image if you want to just take a look at it here: https://github.com/BirdieTX/silverblue
c
Thanks for posting your build. Actually seeing one laid out with different features helped a lot. I made a pile of changes that I will have to test another day. Kinda disappointing about the flatpak situation, but I understand it. dnfing everything isn't the answer either so I will endure. One last mystery I had was about adding configuration files for a couple flatpaks. I use Folio and fooyin, both having a few files containing preferences. Is there anyway to include them in the build image?
b
I've got no idea what that is personally, but if you have configs that you want to make to a user's home folder, add them to the '/etc/skel' directory in your build. Anything you put in the '/etc/skel' directory is automatically added to a user's home folder when you make a new user profile. Do note though, if you are rebasing from another image, it doesn't import any differences from the new skel directory into your current home folder, it only works on new user profiles. You can always copy the contents of skel into your home folder to fix that, and delete anything from the old skel that you don't want anymore.
x
there is also a hacky way to install flatpaks directly onto the system image such that they cant even be removed by users, but we don't document that rn, it's just something i saw someone doing a while back
also, some iso builders allow specifying flatpaks to be installed as part of the initial os installation from the iso, but that's also a kindof confusing and fragmented space rn so i would also need to do some in-depth research to know a good way to do that rn