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/sshd/module.build | |
| 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/sshd/module.build')
| -rw-r--r-- | remote/modules/sshd/module.build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/remote/modules/sshd/module.build b/remote/modules/sshd/module.build new file mode 100644 index 00000000..ebf42c12 --- /dev/null +++ b/remote/modules/sshd/module.build @@ -0,0 +1,20 @@ +fetch_source() { + : +} + +build() { + + local BIN_LOCATION="$(which sshd)" + [ ! -z "${BIN_LOCATION}" ] && BIN_LOCATION=$(readlink -f "$BIN_LOCATION") + if [ ! -z "${BIN_LOCATION}" -a -e "${BIN_LOCATION}" ]; then + tarcopy "${BIN_LOCATION}" "${MODULE_BUILD_DIR}" + else + perror "'sshd' not found on the system! Please install it." + fi +} + +post_copy() { + mkdir -p "${TARGET_BUILD_DIR}/var/lib/empty" # suse + + chmod go-rwx "${TARGET_BUILD_DIR}/etc/ssh/"* # no space, " before * +} |
