build: don't install rr outside x86

Package does not exist.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/149
This commit is contained in:
Ciro Santilli
2022-07-19 21:21:20 +00:00
parent 20bc64cd69
commit acdccca0fe

5
build
View File

@@ -5,6 +5,7 @@ import copy
import itertools import itertools
import math import math
import os import os
import platform
import re import re
import subprocess import subprocess
@@ -497,12 +498,14 @@ Which components to build. Default: qemu-buildroot
# Core requirements for this repo. # Core requirements for this repo.
'git', 'git',
'moreutils', # ts 'moreutils', # ts
'rr',
'squashfs-tools', 'squashfs-tools',
'tmux', 'tmux',
'vinagre', 'vinagre',
'wget', 'wget',
} }
if platform.machine() == 'x86_64':
# https://github.com/rr-debugger/rr/issues/1373
apt_get_pkgs.add('rr')
# E.g. on an ARM host, the package gcc-arm-linux-gnueabihf # E.g. on an ARM host, the package gcc-arm-linux-gnueabihf
# is called just gcc. # is called just gcc.
processor = self.env['host_arch'] processor = self.env['host_arch']