From da16ff1d6af81dbaad36f55d0d7462e7e7319d92 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 15 Jul 2023 17:17:11 -0700 Subject: [PATCH] feat(desktop): Create bazzite-arch images with distrobox assemble --- .../desktop/usr/share/ublue-os/distrobox/bazzite-arch | 8 ++++++++ .../usr/share/ublue-os/distrobox/bazzite-arch-nvidia | 8 ++++++++ system_files/desktop/usr/share/ublue-os/just/custom.just | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch create mode 100644 system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch-nvidia diff --git a/system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch b/system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch new file mode 100644 index 00000000..ddc76c0a --- /dev/null +++ b/system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch @@ -0,0 +1,8 @@ +[bazzite-arch] +image=ghcr.io/ublue-os/bazzite-arch +init=false +nvidia=false +pull=true +root=false +replace=false +start_now=true \ No newline at end of file diff --git a/system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch-nvidia b/system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch-nvidia new file mode 100644 index 00000000..ccd3f5e9 --- /dev/null +++ b/system_files/desktop/usr/share/ublue-os/distrobox/bazzite-arch-nvidia @@ -0,0 +1,8 @@ +[bazzite-arch] +image=ghcr.io/ublue-os/bazzite-arch +init=false +nvidia=true +pull=true +root=false +replace=false +start_now=true \ No newline at end of file diff --git a/system_files/desktop/usr/share/ublue-os/just/custom.just b/system_files/desktop/usr/share/ublue-os/just/custom.just index eb03a8db..ccf7c942 100644 --- a/system_files/desktop/usr/share/ublue-os/just/custom.just +++ b/system_files/desktop/usr/share/ublue-os/just/custom.just @@ -3,10 +3,10 @@ install-bazzite-arch: KARGS=$(rpm-ostree kargs) if grep 'nvidia' <<< ${KARGS}; then echo 'Installing Bazzite Arch (Nvidia)...' - yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch --nvidia + distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch-nvidia else echo 'Installing Bazzite Arch...' - yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch + distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch fi install-corectrl: