ci: debug options in linux-5.4-signed
#!/usr/bin/env bash
-set -euox pipefail
+# set -euox pipefail
+set -uox
. $(dirname $0)/.helper
. $(dirname $0)/linux-5.4.d/VERSION
-# own_dir="$(readlink -f "$(dirname "${0}")")"
+own_dir="$(readlink -f "$(dirname "${0}")")"
sudo apt-get install -y --no-install-recommends vim less equivs pesign
@@ -24,8 +25,10 @@ done
cp -R /usr/share/code-signing/linux-image-${KERNEL_ARCH}-signed-template/source-template linux-signed-${KERNEL_ARCH}
cd linux-signed-${KERNEL_ARCH}
+pwd
+ls -la
for i in $KERNEL_FLAVOURS; do
- ../$(dirname $0)/linux-$(cut -d. -f-2 <<< ${KERNEL_BASE}).d/sign-helper linux-image-${i}-${KERNEL_ARCH}-unsigned debian/signatures
+ ${own_dir}/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
