diff options
| author | Jonathan Bauer | 2014-03-25 15:24:04 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2014-03-25 15:24:04 +0100 |
| commit | 3d1235af060955e271be68240c0ca46bc6d81b03 (patch) | |
| tree | ef02dcc4bb8476cfeef07e2df6a38b4c29d350df /remote/modules/debug | |
| parent | [rootfs-stage32] /var/log/openslx in tmpfiles.d (diff) | |
| download | tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.tar.gz tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.tar.xz tm-scripts-3d1235af060955e271be68240c0ca46bc6d81b03.zip | |
[modules] new module naming convention
rename $MODULE.{conf,build} to module.{conf,build}
Diffstat (limited to 'remote/modules/debug')
| -rw-r--r-- | remote/modules/debug/module.build | 20 | ||||
| -rw-r--r-- | remote/modules/debug/module.conf | 18 | ||||
| -rw-r--r-- | remote/modules/debug/module.conf.debian | 7 | ||||
| -rw-r--r-- | remote/modules/debug/module.conf.opensuse | 11 | ||||
| -rw-r--r-- | remote/modules/debug/module.conf.ubuntu | 7 |
5 files changed, 63 insertions, 0 deletions
diff --git a/remote/modules/debug/module.build b/remote/modules/debug/module.build new file mode 100644 index 00000000..c020181d --- /dev/null +++ b/remote/modules/debug/module.build @@ -0,0 +1,20 @@ +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}" + else + pwarning "'${BIN}' not found on the system." + fi + done +} + +post_copy() { + : +} diff --git a/remote/modules/debug/module.conf b/remote/modules/debug/module.conf new file mode 100644 index 00000000..71006514 --- /dev/null +++ b/remote/modules/debug/module.conf @@ -0,0 +1,18 @@ +REQUIRED_BINARIES=" + strace + ltrace + ldd + setterm + curl + nano + fc-cache + fc-query + @xset + locale + su + file + @htop + @logger + @tcpdump + getfacl +" diff --git a/remote/modules/debug/module.conf.debian b/remote/modules/debug/module.conf.debian new file mode 100644 index 00000000..00bfea2c --- /dev/null +++ b/remote/modules/debug/module.conf.debian @@ -0,0 +1,7 @@ +REQUIRED_INSTALLED_PACKAGES=" + curl + ltrace + strace + nano + fontconfig +" diff --git a/remote/modules/debug/module.conf.opensuse b/remote/modules/debug/module.conf.opensuse new file mode 100644 index 00000000..b7971956 --- /dev/null +++ b/remote/modules/debug/module.conf.opensuse @@ -0,0 +1,11 @@ +REQUIRED_INSTALLED_PACKAGES=" + curl + ltrace + nano + fontconfig + fonts-config + xset +" +REQUIRED_BINARIES+=" + fonts-config +" diff --git a/remote/modules/debug/module.conf.ubuntu b/remote/modules/debug/module.conf.ubuntu new file mode 100644 index 00000000..00bfea2c --- /dev/null +++ b/remote/modules/debug/module.conf.ubuntu @@ -0,0 +1,7 @@ +REQUIRED_INSTALLED_PACKAGES=" + curl + ltrace + strace + nano + fontconfig +" |
