Merge "Add install-bin element"

This commit is contained in:
Jenkins 2016-05-13 03:00:25 +00:00 committed by Gerrit Code Review
commit 0a3d9999d6
10 changed files with 11 additions and 20 deletions

View File

@ -1,2 +1,3 @@
install-bin
manifests
package-installs

View File

@ -1,3 +1,4 @@
cache-url
dib-run-parts
install-bin
package-installs

View File

@ -6,8 +6,6 @@ fi
set -eu
set -o pipefail
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin
# migrate pt_pax flags to xt_pax
if [[ -a /usr/sbin/migrate-pax ]]; then
/usr/sbin/migrate-pax -m

View File

@ -0,0 +1,6 @@
===========
install-bin
===========
Add any files in an element's bin directory to /usr/local/bin in the created
image with permissions 0755.

View File

@ -1,4 +1,5 @@
cache-url
dib-run-parts
install-bin
package-installs
zypper

View File

@ -1,9 +0,0 @@
#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin

View File

@ -1,2 +1,3 @@
dib-python
install-bin
pkg-map

View File

@ -0,0 +1 @@
install-bin

View File

@ -1,9 +0,0 @@
#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin