mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-07-26 08:11:30 +00:00
Imported using git-ubuntu import. Changelog parent: c9470d78b1f5a1d37001234373d905f5c627c264 New changelog entries: * ubunut-cpc: - extendend hooks/functions to support creation of derivative images including mounting images. - added the ability to create qcow2 images in hooks/functions - simplified loop clean-up in hooks/functions - removed assumption that disk1.img would be built - switched qcow2 generation to use hooks/functions function
19 lines
353 B
Bash
Executable File
19 lines
353 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
|
|
|
|
# Execute extra binary hooks
|
|
for recipe in $(find ${extra_d} -type f -executable -maxdepth 1);
|
|
do
|
|
bash -xue ${recipe}
|
|
done
|