Merge "dib-run-parts: make cp to target root more robust"
This commit is contained in:
commit
20def6a0cb
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,10 @@ fi
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
# Abort early if dib-run-parts is not found to prevent a meaningless
|
||||
# error message from the subsequent install command
|
||||
DIB_RUN_PARTS=$(which dib-run-parts)
|
||||
|
||||
exec sudo install -m 0755 -o root -g root -D \
|
||||
$(which dib-run-parts) \
|
||||
$DIB_RUN_PARTS \
|
||||
$TARGET_ROOT/usr/local/bin/dib-run-parts
|
||||
|
|
Loading…
Reference in a new issue