summaryrefslogtreecommitdiffstats
path: root/remote/modules/debug
diff options
context:
space:
mode:
authorroot2013-03-19 15:28:56 +0100
committerroot2013-03-19 15:28:56 +0100
commitcc112cd5c1b75403fa99357f981a5471784f5ab4 (patch)
treec61196354a0112720b0181ae2b0cd9fb1736605e /remote/modules/debug
parentopenSUSE non-interactive zypper (diff)
parentbinutil: add libs to blacklist, speeds up by a LOT (thanks michi:)) (diff)
downloadtm-scripts-cc112cd5c1b75403fa99357f981a5471784f5ab4.tar.gz
tm-scripts-cc112cd5c1b75403fa99357f981a5471784f5ab4.tar.xz
tm-scripts-cc112cd5c1b75403fa99357f981a5471784f5ab4.zip
Merge branch 'master' of ssh://openslx/openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/debug')
-rw-r--r--remote/modules/debug/debug.build19
-rw-r--r--remote/modules/debug/debug.conf2
2 files changed, 21 insertions, 0 deletions
diff --git a/remote/modules/debug/debug.build b/remote/modules/debug/debug.build
new file mode 100644
index 00000000..e791d347
--- /dev/null
+++ b/remote/modules/debug/debug.build
@@ -0,0 +1,19 @@
+fetch_source() {
+ :
+}
+
+build() {
+
+ for BIN in $REQUIRED_BINARIES; do
+ BIN_LOCATION=$(which ${BIN})
+ if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then
+ tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}"
+ else
+ pwarning "'${BIN}' not found on the system."
+ fi
+ done
+}
+
+post_copy() {
+ :
+}
diff --git a/remote/modules/debug/debug.conf b/remote/modules/debug/debug.conf
new file mode 100644
index 00000000..3eb13363
--- /dev/null
+++ b/remote/modules/debug/debug.conf
@@ -0,0 +1,2 @@
+REQUIRED_BINARIES=" strace
+ ldd"