This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed
Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ case $key in
3434 pull) PULL=1; shift || true ; ;;
3535 buildtar) PREPARE=1; TARDIR=" ./" ; config_full_build; shift || true ; ;;
3636 --archive) TARF=$2 ; shift || true ; shift || true ; ;;
37+ --python2) source $spath /packages/python2; shift || true ; ;;
3738 --tracers) source $spath /packages/tracers; shift || true ; ;;
3839 --compilers) source $spath /packages/compilers; shift || true ; ;;
3940 --editors) source $spath /packages/editors; shift || true ; ;;
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ $root rm -rf $OUT_TMP/usr/lib/share/ieee-data/*
6565$root rm -rf $OUT_TMP /usr/share/man/*
6666$root rm -rf $OUT_TMP /usr/lib/share/man/*
6767
68+ # Make python2.7 it the default python (if present)
69+ if [ -f $OUT_TMP /usr/bin/python2.7 ]; then
70+ $root ln -sf /usr/bin/python2.7 $OUT_TMP /usr/bin/python; fi
71+
6872# Clone BCC if needed
6973if [[ ! -z ${INSTALL_BCC: +x} ]]; then
7074git clone https://github.com/iovisor/bcc.git $TDIR /debian/bcc-master
Original file line number Diff line number Diff line change 1+ PACKAGES+="\
2+ iproute2
3+ iptables
4+ libbz2-1.0
5+ libcap2
6+ libcap2-bin
7+ libelf1
8+ libexpat1
9+ libip4tc0
10+ libip6tc0
11+ libiptc0
12+ libmnl0
13+ libnetfilter-conntrack3
14+ libnfnetlink0
15+ libpython2.7-minimal
16+ libpython2.7-stdlib
17+ libreadline7
18+ libsqlite3-0
19+ libssl1.1
20+ libxtables12
21+ mime-support
22+ openssl
23+ python2.7-minimal
24+ "
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ usage() {
1212 echo " pull Git pull androdeb to update it on your host"
1313 echo " "
1414 echo " prepare Prepare the device (when running for the first time)"
15+ echo " --python2 Enable minimal python2 interpreter"
1516 echo " --tracers Enable tracing packages (perf and trace-cmd)"
1617 echo " --compilers Enable compilers on the FS (gcc and clang)"
1718 echo " --editors Enable vim, emacs and git packages"
You can’t perform that action at this time.
0 commit comments