mirror of
https://github.com/t2linux/fedora.git
synced 2026-04-30 13:51:42 -07:00
Use submodules
This commit is contained in:
@@ -40,6 +40,8 @@ jobs:
|
||||
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: "Build"
|
||||
run: |
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[submodule "kernel/linux-t2-patches"]
|
||||
path = kernel/linux-t2-patches
|
||||
url = https://github.com/t2linux/linux-t2-patches
|
||||
+3
-7
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
FEDORA_KERNEL_VERSION=6.5.5-200.fc38
|
||||
PATCHES_COMMIT=3aeff9385079f5f362a5447cdb9f4e2b48962c92
|
||||
|
||||
cd /repo/kernel
|
||||
koji download-build --quiet --arch=src "kernel-${FEDORA_KERNEL_VERSION}"
|
||||
rpmdev-extract -q "kernel-${FEDORA_KERNEL_VERSION}".src.rpm
|
||||
@@ -16,9 +14,7 @@ sed -i 's/# define buildid .local/%define buildid .t2/g' kernel.spec
|
||||
# Disable debug kernels
|
||||
sed -i "/%define with_debug /c %define with_debug 0" kernel.spec
|
||||
|
||||
git clone --quiet --single-branch --branch main https://github.com/t2linux/linux-t2-patches patches && cd patches
|
||||
git checkout --quiet ${PATCHES_COMMIT}
|
||||
cd ..
|
||||
cat linux-t2-patches/extra_config > kernel-local
|
||||
cat linux-t2-patches/*.patch > linux-kernel-test.patch
|
||||
|
||||
cat patches/extra_config > kernel-local
|
||||
cat patches/*.patch > linux-kernel-test.patch
|
||||
cd ..
|
||||
|
||||
Submodule
+1
Submodule kernel/linux-t2-patches added at 3aeff93850
Reference in New Issue
Block a user