ubuntu-cpc: parallel builds: Re-organize hooks

sil2100/backport-datasource-raspi3
Robert C Jennings 6 years ago
parent 5611a31a26
commit f2e2efcbbb
No known key found for this signature in database
GPG Key ID: 740C3D9EEDF2ED73

@ -1,16 +0,0 @@
#!/bin/bash
# Execute extra binary hooks.
my_dir=$(dirname $(readlink -f ${0}))
extra_d=${my_dir}/extra
if [ ! -d ${my_dir}/extra ]; then
exit 0
fi
export IMAGE_STR="# CLOUD_IMG: This file was created/modified by the Cloud Image build process"
export CLOUD_IMG_STR="$IMAGE_STR"
export FS_LABEL="cloudimg-rootfs"
# Cleaner execution
/bin/run-parts --exit-on-error --regex ".*\.binary" "${extra_d}"
Loading…
Cancel
Save