File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 3535 fail-fast : false
3636 matrix :
3737 image_flavor : [main, nvidia]
38- base_name : [bazzite, bazzite-deck]
38+ base_name : [bazzite, bazzite-surface, bazzite- deck]
3939 base_image_name : [kinoite, silverblue]
4040 major_version : [38]
4141 include :
Original file line number Diff line number Diff line change @@ -209,6 +209,35 @@ RUN rm /usr/share/applications/shredder.desktop && \
209209 chmod -R 1777 /var/tmp && \
210210 ostree container commit
211211
212+ FROM bazzite as bazzite-surface
213+
214+ # Add Linux Surface repo
215+ RUN wget https://pkg.surfacelinux.com/fedora/linux-surface.repo -P /etc/yum.repos.d
216+
217+ # Install Surface kernel
218+ RUN wget https://github.com/linux-surface/linux-surface/releases/download/silverblue-20201215-1/kernel-20201215-1.x86_64.rpm -O \
219+ /tmp/surface-kernel.rpm && \
220+ rpm-ostree cliwrap install-to-root / && \
221+ rpm-ostree override replace /tmp/surface-kernel.rpm \
222+ --remove kernel-core \
223+ --remove kernel-devel-matched \
224+ --remove kernel-modules \
225+ --remove kernel-modules-extra \
226+ --remove libwacom \
227+ --remove libwacom-data \
228+ --install kernel-surface \
229+ --install iptsd \
230+ --install libwacom-surface \
231+ --install libwacom-surface-data
232+
233+ # Cleanup & Finalize
234+ RUN rm -rf \
235+ /tmp/* \
236+ /var/* && \
237+ mkdir -p /var/tmp && \
238+ chmod -R 1777 /var/tmp && \
239+ ostree container commit
240+
212241FROM bazzite as bazzite-deck
213242
214243ARG IMAGE_NAME="${IMAGE_NAME}"
You can’t perform that action at this time.
0 commit comments