mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
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:
5
build
5
build
@@ -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']
|
||||||
|
|||||||
Reference in New Issue
Block a user