mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-16 07:38:22 +00:00
Imported using git-ubuntu import. Changelog parent: 63154a9a2f35d29fb66f3b90ba72d76df4d14503 New changelog entries: * 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
Executable File
16 lines
295 B
Bash
Executable File
#!/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}"
|