Skip to content

Commit 978ba87

Browse files
committed
1 parent 6fb4adb commit 978ba87

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

default-package-config.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ function merge_with_upstream() {
3737
#
3838
function kernel_prepare() {
3939
logmust install_pkgs \
40-
equivs \
4140
devscripts \
41+
equivs \
42+
gawk \
4243
kernel-wedge
4344
}
4445

lib/common.sh

+14
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,20 @@ function install_kernel_headers() {
594594
for kernel in $KERNEL_VERSIONS; do
595595
logmust dpkg-query -l "linux-headers-$kernel" >/dev/null
596596
done
597+
598+
#
599+
# XXX: Refactor & explain
600+
#
601+
logmust "SERAPHEIM START2"
602+
local pkg
603+
for pkg in "${_RET_LIST[@]}"; do
604+
logmust install_pkgs "$DEPDIR/$pkg/"linux-image-*-dbgsym.deb
605+
done
606+
local kernel
607+
for kernel in $KERNEL_VERSIONS; do
608+
logmust cp "/usr/lib/debug/boot/vmlinux-${kernel}" "/usr/src/linux-headers-$kernel/vmlinux"
609+
done
610+
logmust "SERAPHEIM END2"
597611
}
598612

599613
function delphix_revision() {

0 commit comments

Comments
 (0)