File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ echo "::endgroup::"
1414
1515# Install Packages
1616
17+ # Install Kernel
18+ echo " ::group:: Install Surface Kernel"
19+ /ctx/install-stage-surface-kernel.sh
20+ echo " ::endgroup::"
21+
1722# # Install Mullvad
1823echo " ::group:: Install Mullvad"
1924/ctx/main-repo/build_files/install-stage-mullvad.sh
@@ -51,7 +56,7 @@ echo "::endgroup::"
5156
5257# Generate initramfs
5358echo " ::group:: Generate initramfs"
54- /ctx/main-repo/build_files/ generate-initramfs.sh
59+ /ctx/generate-initramfs.sh
5560echo " ::endgroup::"
5661
5762# Cleanup
Original file line number Diff line number Diff line change 1+ #! /usr/bin/bash
2+
3+ set -eoux pipefail
4+
5+ KERNEL_VERSION=" $( rpm -q --queryformat=" %{evr}.%{arch}" kernel-surface) "
6+
7+ # Ensure Initramfs is generated
8+ export DRACUT_NO_XATTR=1
9+ /usr/bin/dracut --no-hostonly --kver " ${KERNEL_VERSION} " --reproducible -v --add ostree -f " /lib/modules/${KERNEL_VERSION} /initramfs.img"
10+ chmod 0600 " /lib/modules/${KERNEL_VERSION} /initramfs.img"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eoux pipefail
4+
5+ export DRACUT_NO_XATTR=1
6+ dnf config-manager addrepo --assumeyes --from-repofile=https://pkg.surfacelinux.com/fedora/linux-surface.repo
7+ dnf swap --assumeyes --allowerasing kernel-core kernel-surface
8+ dnf swap --assumeyes --allowerasing libwacom libwacom-surface
9+ dnf swap --assumeyes --allowerasing libwacom-data libwacom-surface-data
10+ dnf install --assumeyes iptsd
11+ dnf install --assumeyes surface-secureboot
You can’t perform that action at this time.
0 commit comments