fix wrong path merged from kernel 5.4 script
@@ -3,7 +3,6 @@ set -euo pipefail
. $(dirname $0)/.helper
. $(dirname $0)/linux-5.10.d/VERSION
-own_dir="$(readlink -f "$(dirname "${0}")")"
sudo apt-get install -y --no-install-recommends vim less equivs pesign
@@ -17,9 +16,9 @@ else
KERNEL_VERSION="$KERNEL_DEBIAN"
fi
sudo apt-get install -y --no-install-recommends -f \
- $BUILDTARGET/main/l/linux/linux-kbuild-$(cut -d. -f-2 <<< ${KERNEL_BASE})_${KERNEL_VERSION}-1_${KERNEL_ARCH}.deb \
- $BUILDTARGET/main/l/linux/linux-support-${KERNEL_BASEABI}_${KERNEL_VERSION}-1_all.deb \
- $BUILDTARGET/main/l/linux/linux-image-${KERNEL_ARCH}-signed-template_${KERNEL_VERSION}-1_${KERNEL_ARCH}.deb
+ $BUILDTARGET/main/l/linux/linux-kbuild-$(cut -d. -f-2 <<< ${KERNEL_BASE})_${KERNEL_VERSION}_${KERNEL_ARCH}.deb \
+ $BUILDTARGET/main/l/linux/linux-support-${KERNEL_BASEABI}_${KERNEL_VERSION}_all.deb \
+ $BUILDTARGET/main/l/linux/linux-image-${KERNEL_ARCH}-signed-template_${KERNEL_VERSION}_${KERNEL_ARCH}.deb
for i in $KERNEL_FLAVOURS; do
sudo apt-get install -y --no-install-recommends \
@@ -30,7 +29,7 @@ cp -R /usr/share/code-signing/linux-image-${KERNEL_ARCH}-signed-template/source-
cd linux-signed-${KERNEL_ARCH}
for i in $KERNEL_FLAVOURS; do
- "${own_dir}/linux-$(cut -d. -f-2 <<< ${KERNEL_BASE}).d/sign-helper linux-image-${i}-${KERNEL_ARCH}-unsigned" debian/signatures
+ ../$(dirname $0)/linux-$(cut -d. -f-2 <<< ${KERNEL_BASE}).d/sign-helper linux-image-${i}-${KERNEL_ARCH}-unsigned debian/signatures
done
TMPDIR=.. mk-build-deps debian/control
sudo apt-get install -y --no-install-recommends -f ../linux-signed-${KERNEL_ARCH}-build-deps*.deb
