diff --git a/Containerfile b/Containerfile index 6373225..292328f 100644 --- a/Containerfile +++ b/Containerfile @@ -10,7 +10,7 @@ # !! Warning: changing these might not do anything for you. Read comment above. ARG IMAGE_MAJOR_VERSION=38 -ARG BASE_IMAGE_URL=ghcr.io/ublue-os/kinoite-main +ARG BASE_IMAGE_URL=ghcr.io/ublue-os/kinoite-nokmods FROM ${BASE_IMAGE_URL}:${IMAGE_MAJOR_VERSION} diff --git a/config/recipe.yml b/config/recipe.yml index 5b8ecdb..45d4037 100644 --- a/config/recipe.yml +++ b/config/recipe.yml @@ -4,7 +4,7 @@ name: ublue-surface description: A uBlue image with Plasma Mobile for the Microsoft Surface Go. # the base image to build on top of (FROM) and the version tag to use -base-image: ghcr.io/ublue-os/kinoite-main +base-image: ghcr.io/ublue-os/kinoite-nokmods image-version: 38 # latest is also supported if you want new updates ASAP # module configuration, executed in order @@ -50,6 +50,7 @@ modules: - type: script scripts: + - change_kernel.sh - configure_sddm.sh - install_convergent_windows.sh - setup_waydroid.sh diff --git a/config/scripts/change_kernel.sh b/config/scripts/change_kernel.sh new file mode 100644 index 0000000..dc5fcf2 --- /dev/null +++ b/config/scripts/change_kernel.sh @@ -0,0 +1,14 @@ +#!/bin/bash +wget https://pkg.surfacelinux.com/fedora/linux-surface.repo -P /etc/yum.repos.d +wget https://github.com/linux-surface/linux-surface/releases/download/silverblue-20201215-1/kernel-20201215-1.x86_64.rpm -O /tmp/surface-kernel.rpm +rpm-ostree cliwrap install-to-root +rpm-ostree override replace /tmp/surface-kernel.rpm \ + --remove kernel-core \ + --remove kernel-modules \ + --remove kernel-modules-extra \ + --remove libwacom \ + --remove libwacom-data \ + --install kernel-surface \ + --install iptsd \ + --install libwacom-surface \ + --install libwacom-surface-data