mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-07-26 08:11:30 +00:00
Imported using git-ubuntu import. Changelog parent: 2ac1eda867ebc37261e396efe1ac1c6ed38a28cf New changelog entries: [ Balint Reczey ] * Add a basic but configurable autopkgtest. [ Mathieu Trudel-Lapierre ] * Add ubuntu-server:live for a subiquity-based server image. * Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
17 lines
389 B
Bash
Executable File
17 lines
389 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 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 --regex ".*\.binary" "${extra_d}"
|