diskimage-builder/elements/svc-map/extra-data.d/11-copy-svc-map-file
Pino Toscano 430ea923e0 svc-map: do not specify user/group for install
Since install is run as root already (using sudo), the resulting file
will be already root:root.

Change-Id: I6023fd277ea77fbfa4f7ad42b04d58c8cd6bd4fe
2015-09-07 17:04:03 +02:00

9 lines
203 B
Bash
Executable file

#!/bin/bash
if [ "${DIB_DEBUG_TRACE:-1}" -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
sudo install -D -m 0644 "$TMP_MOUNT_PATH/tmp/svc-map-services" "$TMP_MOUNT_PATH/usr/share/svc-map/services"