mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-02-18 07:53:29 +00:00
Imported using git-ubuntu import. Changelog parent: eea56e02ae121482387ddc2206bc27de53f2627c New changelog entries: [ Balint Reczey ] * Source ubuntu-cpc functions from the right place * Use all config hooks from the proper place, not from /build/ * Add basic but configurable autopkgtest (LP: #1690440) * sync before calling kpartx to let writing to loop devices finish * wrap kpartx and trap spurious errors, to work around kpartx unreliability.
16 lines
304 B
Bash
Executable File
16 lines
304 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
|
|
. config/functions
|
|
|
|
# Cleaner execution
|
|
/bin/run-parts --exit-on-error --regex ".*\.binary" "${extra_d}"
|