Skip to content

Commit ef9b0d8

Browse files
committed
fix: Disable waydroid service by default
1 parent 5996573 commit ef9b0d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Containerfile

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ RUN rm /usr/share/applications/shredder.desktop && \
159159
rm /usr/share/applications/yad-icon-browser.desktop && \
160160
sed -i '/^PRETTY_NAME/s/Silverblue/Bazzite GNOME/' /usr/lib/os-release \
161161
; fi && \
162+
if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
163+
systemctl disable waydroid-container.service \
164+
fi && \
162165
echo -e "IMAGE_NAME=${IMAGE_NAME}\nBASE_IMAGE_NAME=${BASE_IMAGE_NAME}\nIMAGE_FLAVOR=${IMAGE_FLAVOR}\nFEDORA_MAJOR_VERSION=${FEDORA_MAJOR_VERSION}" >> /etc/default/bazzite && \
163166
rm -rf \
164167
/tmp/* \

0 commit comments

Comments
 (0)