diff options
| author | Alexandre Maloteaux <malo.sasha@gmail.com> | 2025-06-13 23:33:42 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-06-16 15:22:40 +0000 |
| commit | e7dd99bade45e7e0cf824f07484e8d34942edfa8 (patch) | |
| tree | 25bc4761da7b0d7ddef7778531529321b850cf6c /tools/create-image.sh | |
| parent | d1716036cfa39739f284316822472a6b43b964e6 (diff) | |
tools: fix perf compiling on debootstrap images
Diffstat (limited to 'tools/create-image.sh')
| -rwxr-xr-x | tools/create-image.sh | 2 |
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 |
