File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ function merge_with_upstream() {
37
37
#
38
38
function kernel_prepare() {
39
39
logmust install_pkgs \
40
- equivs \
41
40
devscripts \
41
+ equivs \
42
+ gawk \
42
43
kernel-wedge
43
44
}
44
45
@@ -182,6 +183,18 @@ function kernel_build() {
182
183
logmust cd " $WORKDIR "
183
184
logmust mv ./* deb " artifacts/"
184
185
186
+ #
187
+ # XXX: refactor & explain
188
+ #
189
+ logmust echo " SERAPHEIM START"
190
+ logmust ls " $WORKDIR /repo/debian/linux-image-${kernel_version} -dbgsym/usr/lib/debug/boot/"
191
+ logmust mkdir ~ /vmlinux-artifacts
192
+
193
+ if test -d " $WORKDIR /repo/debian/linux-image-${kernel_version} -dbgsym/usr/lib/debug/boot/" ; then
194
+ logmust cp " $WORKDIR /repo/debian/linux-image-${kernel_version} -dbgsym/usr/lib/debug/boot/vmlinux-${kernel_version} " ~ /vmlinux-artifacts/" vmlinux-${kernel_version} "
195
+ fi
196
+ logmust echo " SERAPHEIM END"
197
+
185
198
#
186
199
# Make sure that we recorded the kernel version properly by checking
187
200
# one of the .debs produced
Original file line number Diff line number Diff line change @@ -594,6 +594,18 @@ function install_kernel_headers() {
594
594
for kernel in $KERNEL_VERSIONS ; do
595
595
logmust dpkg-query -l " linux-headers-$kernel " > /dev/null
596
596
done
597
+
598
+ #
599
+ # XXX: Refactor & explain
600
+ #
601
+ logmust " SERAPHEIM START2"
602
+ if test -d ~ /vmlinux-artifacts; then
603
+ local kernel
604
+ for kernel in $KERNEL_VERSIONS ; do
605
+ logmust cp ~ /vmlinux-artifacts/" vmlinux-${kernel} " " /usr/src/linux-headers-$kernel /vmlinux"
606
+ done
607
+ fi
608
+ logmust " SERAPHEIM END2"
597
609
}
598
610
599
611
function delphix_revision() {
You can’t perform that action at this time.
0 commit comments