From ed055da3cb9b6dc109a7463dc9b565aacde6b51c Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Fri, 1 Aug 2025 18:00:25 -0700 Subject: [PATCH] [Backport of DLPX-94858] Delphix Engine NFS Server stops responding under heavy I/O PR URL: https://www.github.com/delphix/linux-pkg/pull/363 --- default-package-config.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default-package-config.sh b/default-package-config.sh index c30d3acd..80b0dcab 100644 --- a/default-package-config.sh +++ b/default-package-config.sh @@ -99,9 +99,14 @@ function kernel_build() { # Canonical's releases and our releases. # local canonical_abinum delphix_abinum kernel_release kernel_version + canonical_abinum=$(fakeroot debian/rules printenv | grep -E '^abinum ' | cut -d= -f2 | tr -d '[:space:]') delphix_abinum="${canonical_abinum}-$(date -u +"dx%Y%m%d%H")-$(git rev-parse --short HEAD)" + kernel_release=$(fakeroot debian/rules printenv | grep -E '^release ' | cut -d= -f2 | tr -d '[:space:]') + if [[ -z "$kernel_release" ]]; then + kernel_release=$(fakeroot debian/rules printenv | grep -E '^DEB_VERSION_UPSTREAM ' | cut -d= -f2 | tr -d '[:space:]') + fi # # We record the kernel version into a file. This field is consumed