Browse Source

fixup! pkg: debian: Fix setting LOCALVERSION

Dorian Stoll 1 year ago
parent
commit
bc46d59137
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/scripts/package/debian.sh

+ 4 - 1
.github/scripts/package/debian.sh

@@ -105,7 +105,10 @@ build-packages)
     # The DPKG in Ubuntu 22.04 defaults to using ZSTD, which is not yet supported by the DPKG in Debian 11
     export KDEB_COMPRESS="xz"
 
-    make bindeb-pkg -j "$(nproc)" LOCALVERSION="${KERNEL_LOCALVERSION}"
+    # Set kernel localversion
+    export LOCALVERSION="${KERNEL_LOCALVERSION}"
+
+    make bindeb-pkg -j "$(nproc)"
 
     popd || exit 1
     popd || exit 1