Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/build-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,12 @@ jobs:
# Enable deb-src so apt-get build-dep can resolve build dependencies.
# pkg-builder:noble is Ubuntu 24.04 which uses DEB822 format.
sed -i "s/^Types: deb$/Types: deb deb-src/" /etc/apt/sources.list.d/ubuntu.sources

# Add Qualcomm qartifactory repo for kgsl-dkms
echo "deb [trusted=yes] https://qartifactory-edge.qualcomm.com/artifactory/qsc-deb-releases resolute main" \
> /etc/apt/sources.list.d/qsc-deb-releases.list

apt-get update -qq
apt-get build-dep -y linux

cd kernel-src/
echo "debian/debian.env: $(cat debian/debian.env 2>/dev/null || echo NOT FOUND)"
Expand Down Expand Up @@ -418,6 +422,10 @@ jobs:
echo "Safety net: created debian/changelog → debian.master/changelog"
fi

# Resolve against the local debian/control just generated by "clean".
echo "=== Installing build dependencies from debian/control ==="
apt-get build-dep -y ./

echo "=== Starting: fakeroot debian/rules ${TARGET} (jobs=${JOBS}) ==="
export DEB_BUILD_OPTIONS="parallel=${JOBS} nocheck"
# do_skip_checks=true skips the config policy check that requires
Expand All @@ -428,7 +436,7 @@ jobs:
# -dbgsym.ddeb (vmlinux + modules with full debug symbols).
DBGSYM_OPT="do_dbgsym_package=false"
if [ "${DBGSYM}" = "true" ]; then DBGSYM_OPT="do_dbgsym_package=true"; fi
fakeroot debian/rules ${TARGET} do_skip_checks=true "${DBGSYM_OPT}" do_fitimage=false
fakeroot debian/rules ${TARGET} do_skip_checks=true "${DBGSYM_OPT}"

kill "${HEARTBEAT}" 2>/dev/null || true

Expand Down
Loading