mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-16 07:38:22 +00:00
Imported using git-ubuntu import. Changelog parent: 41970327be7f22d59e7a862b01286caad1a95f6a New changelog entries: [ Robert Jennings ] * live-build/ubuntu-cpc/hooks/060-ipv6.chroot: remove faulty release comparison prior to aa-series (LP: #1681548) * live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure [ Balint Reczey ] * sync before calling kpartx to let writing to loop devices finish * Sort and list dependencies nicely * Require PROJECT environment to be set for lb build * Allow overwriting IMAGEFORMAT even for ubuntu-cpc and ubuntu-server * Optionally use ubuntu-image for building snap based images
17 lines
405 B
Bash
Executable File
17 lines
405 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 --exit-on-error --regex ".*\.binary" "${extra_d}"
|