Skip to content

Commit e66cb9b

Browse files
authored
fix: Remove some unneeded kernel modules from the Bazzite kernel
1 parent b0009d9 commit e66cb9b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Containerfile.extra

+6-4
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,18 @@ RUN --mount=type=bind,src=kernel_cache,dst=/tmp/kernel_cache,ro \
4040
/tmp/build-kmod-ayaneo-platform.sh && \
4141
/tmp/build-kmod-ayn-platform.sh && \
4242
/tmp/build-kmod-bmi260.sh && \
43-
/tmp/build-kmod-facetimehd.sh && \
43+
if grep -qv "bazzite" <<< "${KERNEL_FLAVOR}"; then \
44+
/tmp/build-kmod-facetimehd.sh && \
45+
/tmp/build-kmod-rtl8814au.sh && \
46+
/tmp/build-kmod-rtl88xxau.sh && \
47+
/tmp/build-kmod-VirtualBox.sh \
48+
; fi && \
4449
/tmp/build-kmod-gcadapter_oc.sh && \
4550
/tmp/build-kmod-nct6687d.sh && \
46-
/tmp/build-kmod-rtl8814au.sh && \
47-
/tmp/build-kmod-rtl88xxau.sh && \
4851
/tmp/build-kmod-system76.sh && \
4952
/tmp/build-kmod-system76-io.sh && \
5053
/tmp/build-kmod-ryzen-smu.sh && \
5154
/tmp/build-kmod-vhba.sh && \
52-
/tmp/build-kmod-VirtualBox.sh && \
5355
/tmp/dual-sign.sh && \
5456
/tmp/build-post.sh
5557

0 commit comments

Comments
 (0)