Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP #303

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

WIP #303

Show file tree
Hide file tree
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
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