mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-15 23:28:26 +00:00
* Set timeout options so ppc64el cloud images don't display a grub boot menu (matching the behaviour of other cloud images). * Specify a regex to run-parts so that cloud image extra scripts are found and executed.
16 lines
295 B
Bash
16 lines
295 B
Bash
#!/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 the common functions to the extras
|
|
. /build/config/functions
|
|
|
|
# Cleaner execution
|
|
/bin/run-parts --regex ".*\.binary" "${extra_d}"
|