diff --git a/modules/initramfs/initramfs.nu b/modules/initramfs/initramfs.nu index 51f5007..8a39da8 100644 --- a/modules/initramfs/initramfs.nu +++ b/modules/initramfs/initramfs.nu @@ -1,6 +1,6 @@ #!/usr/bin/env nu -def main [_config: string] { +def main [_config: string]: nothing -> nothing { const WRAPPED_DRACUT_PATH = '/usr/libexec/rpm-ostree/wrapped/dracut' const DRACUT_PATH = '/usr/bin/dracut' const KERNEL_MODULES_PATH = '/usr/lib/modules' @@ -34,6 +34,7 @@ def main [_config: string] { | get name | path basename | each {|kernel| + print $'(ansi green)Generating initramfs for kernel (ansi cyan)($kernel)(ansi reset)' let image_path = [$KERNEL_MODULES_PATH $kernel initramfs.img] | path join try { (^$dracut_path @@ -45,5 +46,8 @@ def main [_config: string] { -f $image_path) } chmod 0600 $image_path + print $"(ansi green)Finished generating initramfs for kernel (ansi cyan)($kernel)(ansi reset)\n" } + + print $'(ansi green)Generating initramfs images complete(ansi reset)' } diff --git a/recipes/common/jp-desktop-bootc.yml b/recipes/common/jp-desktop-bootc.yml index 97fc49d..4143e3d 100644 --- a/recipes/common/jp-desktop-bootc.yml +++ b/recipes/common/jp-desktop-bootc.yml @@ -1,6 +1,16 @@ --- # yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json modules: + - type: dnf + source: ghcr.io/blue-build/modules/dnf:dnf-module + repos: + cleanup: true + nonfree: negativo17-multimedia + - type: dnf + source: ghcr.io/blue-build/modules/dnf:dnf-module + repos: + cleanup: true + nonfree: rpmfusion - type: dnf source: ghcr.io/blue-build/modules/dnf:dnf-module repos: