mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-04 02:40:05 +00:00
feat(desktop): Create bazzite-arch images with distrobox assemble
This commit is contained in:
parent
d4a0d70482
commit
da16ff1d6a
@ -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
|
@ -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
|
@ -3,10 +3,10 @@ install-bazzite-arch:
|
|||||||
KARGS=$(rpm-ostree kargs)
|
KARGS=$(rpm-ostree kargs)
|
||||||
if grep 'nvidia' <<< ${KARGS}; then
|
if grep 'nvidia' <<< ${KARGS}; then
|
||||||
echo 'Installing Bazzite Arch (Nvidia)...'
|
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
|
else
|
||||||
echo 'Installing Bazzite Arch...'
|
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
|
fi
|
||||||
|
|
||||||
install-corectrl:
|
install-corectrl:
|
||||||
|
Loading…
Reference in New Issue
Block a user