Skip to content

Commit

Permalink
Merge pull request #38 from razr/lttng-fix
Browse files Browse the repository at this point in the history
make lttng_version configurable
  • Loading branch information
LanderU authored Jun 19, 2022
2 parents c242c87 + 7dc60fa commit f6ae7d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ on:
required: true
default: '5.4.0-1058-raspi'
type: string
lttng_version:
description: 'LTTNG version e.g. 2.12'
required: false
type: string
jobs:
call-rpi4-kernel-build:
uses: ./.github/workflows/rpi4-kernel-build.yml
with:
uname_r: ${{ github.event.inputs.uname_r }}
lttng_version: ${{ github.event.inputs.lttng_version }}
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ RUN cd /home/user/linux_build \
&& gunzip patch-`cat /home/user/rt_patch`.patch.gz

# download lttng source for use later
# TODO(flynneva): make script to auto-determine which version to get?
RUN cd /home/user/ \
&& sudo apt-add-repository ppa:lttng/stable-${LTTNG_VERSION} \
&& sudo apt-add-repository -s -y ppa:lttng/stable-${LTTNG_VERSION} \
&& sudo apt-get update \
&& apt-get source lttng-modules-dkms

Expand Down

0 comments on commit f6ae7d6

Please sign in to comment.