Heus-Sueh
Heus-Sueh
BBlueBuild
Created by Heus-Sueh on 9/2/2024 in #questions
Questions about firstboot scripts
Does the ublue-os/firstboot directory run any bash script that is there on the first boot or is it only for yafti.yml? I wanted to make a firstboot script just to configure and download some things at the beginning and never run it again.
9 replies
BBlueBuild
Created by Heus-Sueh on 8/27/2024 in #questions
yafti configuration
I created the file in this directory, now I just need to include yafti in the recipe? usr/share/ublue-os/firstboot/yafti.yml like this:
modules:
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file:
modules/fonts.yml
- from-file: modules/default-flatpaks.yml
- type: yafti # correct?
modules:
- from-file: modules/pkgs.yml
- from-file: modules/common-files.yml
- from-file:
modules/fonts.yml
- from-file: modules/default-flatpaks.yml
- type: yafti # correct?
4 replies
BBlueBuild
Created by Heus-Sueh on 8/23/2024 in #questions
Problems with NVIDIA on Hyprland
I recently installed hyprland with my image created with bluebuild, but I'm having some problems with NVIDIA (it's become a hobby to solve problems with nvidia lol), here's the error:
flatpak run com.usebottles.bottles
19:45:53 (ERROR) Unable to load libGLX_nvidia.so.0
19:45:53 (WARNING) Unable to locate libGLX_nvidia
...
flatpak run com.usebottles.bottles
19:45:53 (ERROR) Unable to load libGLX_nvidia.so.0
19:45:53 (WARNING) Unable to locate libGLX_nvidia
...
the same thing happens with heroic. it complains that this dependency is missing, I forgot to mention that I installed it using rpm-ostree rebase
12 replies
BBlueBuild
Created by Heus-Sueh on 8/22/2024 in #questions
installing virt-manager in recipe.yml
I want to create a recipe.yml that installs all the dev tools like bluefin-dx, but I'm not sure how to add the user to the libvirt group. Here's the recipe:
...
- libvirt
- virt-manager
- virt-viewer
- qemu
- qemu-char-spice
- qemu-device-display-virtio-gpu
- qemu-device-display-virtio-vga
- qemu-device-usb-redirect
- qemu-img
- qemu-system-x86-core
- qemu-user-binfmt
- qemu-user-static
# SystemD
- type: systemd
system:
enabled:
- libvirtd
- virtnetworkd.socket
- ​​virtstoraged.socket
- ​​virtnodedevd.socket
disabled:
# - flatpak-system-update.timer user: enabled: # - my-custom.service disabled: # - flatpak-user-update.timer # ----------------------------------------------------------------------- - type: script
snippets:
- "sudo usermod -a -G libvirt $(whoami)" # this won't work right?
...
- libvirt
- virt-manager
- virt-viewer
- qemu
- qemu-char-spice
- qemu-device-display-virtio-gpu
- qemu-device-display-virtio-vga
- qemu-device-usb-redirect
- qemu-img
- qemu-system-x86-core
- qemu-user-binfmt
- qemu-user-static
# SystemD
- type: systemd
system:
enabled:
- libvirtd
- virtnetworkd.socket
- ​​virtstoraged.socket
- ​​virtnodedevd.socket
disabled:
# - flatpak-system-update.timer user: enabled: # - my-custom.service disabled: # - flatpak-user-update.timer # ----------------------------------------------------------------------- - type: script
snippets:
- "sudo usermod -a -G libvirt $(whoami)" # this won't work right?
ignore indentation
5 replies
BBlueBuild
Created by Heus-Sueh on 8/22/2024 in #questions
my recipe-vm is not being built successfully
recipe-vm with some packages to use in vm is not being built successfully
[16:29:06 ERROR] => Failed:
× Improper format for module. Must be in the format like:
│ type: module-name
│ module: config
│ goes: here

│ or

│ from-file: test.yml

[16:29:06 ERROR] => Failed:
× Improper format for module. Must be in the format like:
│ type: module-name
│ module: config
│ goes: here

│ or

│ from-file: test.yml

the indentation is correct and everything is fine but it gives the error above https://github.com/Heus-Sueh/hyprland/blob/main/recipes/recipe-nvidia.yml https://github.com/Heus-Sueh/hyprland/blob/main/recipes/recipe-vm.yml
6 replies