aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-image.sh
diff options
context:
space:
mode:
authorAlexandre Maloteaux <malo.sasha@gmail.com>2025-06-13 23:33:42 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-06-16 15:22:40 +0000
commite7dd99bade45e7e0cf824f07484e8d34942edfa8 (patch)
tree25bc4761da7b0d7ddef7778531529321b850cf6c /tools/create-image.sh
parentd1716036cfa39739f284316822472a6b43b964e6 (diff)
tools: fix perf compiling on debootstrap images
Diffstat (limited to 'tools/create-image.sh')
-rwxr-xr-xtools/create-image.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh
index 4afbbfbc9..1d99f0d13 100755
--- a/tools/create-image.sh
+++ b/tools/create-image.sh
@@ -183,6 +183,8 @@ if [ $PERF = "true" ]; then
cp -r $KERNEL $DIR/tmp/
BASENAME=$(basename $KERNEL)
sudo chroot $DIR /bin/bash -c "apt-get update; apt-get install -y flex bison python-dev libelf-dev libunwind8-dev libaudit-dev libslang2-dev libperl-dev binutils-dev liblzma-dev libnuma-dev"
+ sudo chroot $DIR /bin/bash -c "apt-get install -y make pkg-config systemtap-sdt-dev libssl-dev libdw-dev libpfm4-dev libtraceevent-dev"
+ sudo chroot $DIR /bin/bash -c "apt-get install -y python3-setuptools python3-nitime"
sudo chroot $DIR /bin/bash -c "cd /tmp/$BASENAME/tools/perf/; make"
sudo chroot $DIR /bin/bash -c "cp /tmp/$BASENAME/tools/perf/perf /usr/bin/"
rm -r $DIR/tmp/$BASENAME