Now that we have moved to Ubuntu 24.04 the distribution provided
trace-cmd is new enough for our needs. Switch to installing that and
stop building it from source.
Signed-off-by: Tom Rini <trini@konsulko.com>
sudo \
swig \
texinfo \
+ trace-cmd \
util-linux \
uuid-dev \
vboot-kernel-utils \
make install && \
rm -rf /tmp/swtpm
-# Build trace-cmd
-RUN mkdir /tmp/trace && \
- git clone https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git /tmp/trace/libtraceevent && \
- cd /tmp/trace/libtraceevent && \
- make -j$(nproc) && \
- sudo make install && \
- git clone https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git /tmp/trace/libtracefs && \
- cd /tmp/trace/libtracefs && \
- make -j$(nproc) && \
- sudo make install && \
- git clone https://github.com/rostedt/trace-cmd.git /tmp/trace/trace-cmd && \
- cd /tmp/trace/trace-cmd && \
- make -j$(nproc) && \
- sudo make install && \
- rm -rf /tmp/trace
-
# Build coreboot
RUN wget -O - https://coreboot.org/releases/coreboot-25.03.tar.xz | tar -C /tmp -xJ && \
cd /tmp/coreboot-25.03 && \