mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-07 00:01:59 +00:00
ubuntu-cpc: parallel builds: Re-organize hooks
This commit is contained in:
parent
5611a31a26
commit
f2e2efcbbb
live-build/ubuntu-cpc
0
live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary → live-build/ubuntu-cpc/hooks.d/base/create-root-dir.binary
Normal file → Executable file
0
live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary → live-build/ubuntu-cpc/hooks.d/base/create-root-dir.binary
Normal file → Executable file
0
live-build/ubuntu-cpc/hooks/031-2-root-squashfs.binary → live-build/ubuntu-cpc/hooks.d/base/root-squashfs.binary
Normal file → Executable file
0
live-build/ubuntu-cpc/hooks/031-2-root-squashfs.binary → live-build/ubuntu-cpc/hooks.d/base/root-squashfs.binary
Normal file → Executable file
0
live-build/ubuntu-cpc/hooks/031-1-root-xz.binary → live-build/ubuntu-cpc/hooks.d/base/root-xz.binary
Normal file → Executable file
0
live-build/ubuntu-cpc/hooks/031-1-root-xz.binary → live-build/ubuntu-cpc/hooks.d/base/root-xz.binary
Normal file → Executable file
0
live-build/ubuntu-cpc/hooks/042-vagrant.binary → live-build/ubuntu-cpc/hooks.d/base/vagrant.binary
0
live-build/ubuntu-cpc/hooks/042-vagrant.binary → live-build/ubuntu-cpc/hooks.d/base/vagrant.binary
0
live-build/ubuntu-cpc/hooks/031-3-wsl-gz.binary → live-build/ubuntu-cpc/hooks.d/base/wsl-gz.binary
0
live-build/ubuntu-cpc/hooks/031-3-wsl-gz.binary → live-build/ubuntu-cpc/hooks.d/base/wsl-gz.binary
0
live-build/ubuntu-cpc/hooks/060-ipv6.chroot → live-build/ubuntu-cpc/hooks.d/chroot/060-ipv6.chroot
0
live-build/ubuntu-cpc/hooks/060-ipv6.chroot → live-build/ubuntu-cpc/hooks.d/chroot/060-ipv6.chroot
@ -1,16 +0,0 @@
|
||||
#!/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}"
|
Loading…
x
Reference in New Issue
Block a user