diskimage-builder/elements/select-boot-kernel-initrd/extra-data.d/99-copy-dib-img-functions
Ghe Rivero 4c977082c4 Add select-boot-kernel-initrd element
Encapsulate the new select-boot-kernel-initrd common function
into an element so other elements can make use of it.

Change-Id: Ie587bd5dae1afebfd5646190dfa951a7949938cd
2014-06-25 21:23:19 +00:00

9 lines
244 B
Bash
Executable File

#!/bin/bash
# Copy elements-functions into chroot so we can access the get_kernel_image function
set -eu
set -o pipefail
sudo mkdir -p $TMP_MOUNT_PATH/lib/diskimage-builder
sudo cp -t $TMP_MOUNT_PATH/lib/diskimage-builder $_LIB/img-functions