diff --git a/.gitignore b/.gitignore index a746156..831e293 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ nogit/ .vscode/* !/.vscode/settings.json # !linux-tom-*.arch*-x86_64.pkg.tar.zst +!update diff --git a/config-6.18.7.patch b/config-6.18.7.patch index 3954c9c..42dc656 100644 --- a/config-6.18.7.patch +++ b/config-6.18.7.patch @@ -1,5 +1,5 @@ --- ../config 2026-01-26 10:54:28.387950400 +0100 -+++ .config 2026-01-26 15:34:39.715109671 +0100 ++++ .config 2026-01-29 11:44:46.495480204 +0100 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. diff --git a/update.sh b/update.sh deleted file mode 100755 index b698591..0000000 --- a/update.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -# Exit if any command fails -set -e - -# 1. Build and install the packages as you normally do -# -s: sync dependencies, -i: install after build, -f: overwrite existing -makepkg -sif - -# 2. Extract version info dynamically from the PKGBUILD -VERSION=$(grep '^pkgver=' PKGBUILD | cut -d= -f2) -REL=$(grep '^pkgrel=' PKGBUILD | cut -d= -f2) -FULL_VER="${VERSION}-${REL}-x86_64" - -# 3. Define the path to your Git repository (adjust if different) -GIT_REPO_PATH="./git-repo" -mkdir -p "$GIT_REPO_PATH" - -# 4. Define the packages to track -targets=("linux-tom" "linux-tom-headers" "linux-tom-docs") - -for name in "${targets[@]}"; do - actual_file="${name}-${FULL_VER}.pkg.tar.zst" - - if [ -f "$actual_file" ]; then - echo "Updating $name in Git repository..." - - # Overwrite the generic file name in the Git repo - # This keeps the filename stable for Git-LFS - cp "$actual_file" "$GIT_REPO_PATH/${name}.pkg.tar.zst" - - # Update a small metadata file so you still know the version - echo "$FULL_VER" > "$GIT_REPO_PATH/${name}.version" - else - echo "Warning: $actual_file was not found." - fi -done - -# 5. Commit to Git -cd "$GIT_REPO_PATH" -git add *.pkg.tar.zst *.version -git commit -m "Kernel Update: $FULL_VER"