Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sdimitro committed Oct 5, 2023
1 parent 6fb4adb commit f0b59b8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion default-package-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ function merge_with_upstream() {
#
function kernel_prepare() {
logmust install_pkgs \
equivs \
devscripts \
equivs \
gawk \
kernel-wedge
}

Expand Down
14 changes: 14 additions & 0 deletions lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,20 @@ function install_kernel_headers() {
for kernel in $KERNEL_VERSIONS; do
logmust dpkg-query -l "linux-headers-$kernel" >/dev/null
done

#
# XXX: Refactor & explain
#
logmust echo "SERAPHEIM START2"
local pkg
for pkg in "${_RET_LIST[@]}"; do
logmust install_pkgs "$DEPDIR/$pkg/"linux-image-*-dbgsym.deb
done
local kernel
for kernel in $KERNEL_VERSIONS; do
logmust cp "/usr/lib/debug/boot/vmlinux-${kernel}" "/usr/src/linux-headers-$kernel/vmlinux"
done
logmust echo "SERAPHEIM END2"
}

function delphix_revision() {
Expand Down

0 comments on commit f0b59b8

Please sign in to comment.