Skip to content

Commit 4968b34

Browse files
committed
spread: install wlcs-dbgsym if it's of use
1 parent 614af66 commit 4968b34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spread/build/ubuntu/task.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ summary: Build Ubuntu packages
1212
execute: |
1313
cd $SPREAD_PATH
1414
15+
NODBG=$( [[ "${DEB_BUILD_OPTIONS}" != *nostrip* ]] && echo true || echo false )
16+
1517
# Add Mir dev PPA for any out-of-archive packages needed
1618
# (Currently: a newer version of WLCS)
17-
add-apt-repository ppa:mir-team/dev
19+
add-apt-repository ppa:mir-team/dev --component "main $( $NODBG || echo main/debug )"
1820
1921
# to get dpkg-architecture and mk-build-deps
2022
apt-get install \
2123
--yes \
2224
ccache \
2325
devscripts \
24-
dpkg-dev
26+
dpkg-dev \
27+
$( $NODBG || echo wlcs-dbgsym )
2528
2629
# set host and build environment up
2730
source <( dpkg-architecture --print-set --host-arch ${ARCH} )

0 commit comments

Comments
 (0)