From 9d4e9bf4e8db96ea5148f2a25ccda96c49a95913 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 14 Aug 2013 20:58:54 +0200 Subject: [debug] Add htop [setup_target] Make it possible to mark required binaries as optional by prefixing them with '@' --- remote/modules/debug/debug.build | 1 + remote/modules/debug/debug.conf | 1 + 2 files changed, 2 insertions(+) (limited to 'remote/modules/debug') diff --git a/remote/modules/debug/debug.build b/remote/modules/debug/debug.build index e791d347..c020181d 100644 --- a/remote/modules/debug/debug.build +++ b/remote/modules/debug/debug.build @@ -5,6 +5,7 @@ fetch_source() { build() { for BIN in $REQUIRED_BINARIES; do + [[ "$BIN" == @* ]] && BIN=$(echo "$BIN" | cut -c 2-) BIN_LOCATION=$(which ${BIN}) if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}" diff --git a/remote/modules/debug/debug.conf b/remote/modules/debug/debug.conf index b7242b58..ba1f065e 100644 --- a/remote/modules/debug/debug.conf +++ b/remote/modules/debug/debug.conf @@ -9,4 +9,5 @@ REQUIRED_BINARIES=" fc-query xset locale + @htop " -- cgit v1.2.3-55-g7522