4c977082c4
Encapsulate the new select-boot-kernel-initrd common function into an element so other elements can make use of it. Change-Id: Ie587bd5dae1afebfd5646190dfa951a7949938cd
9 lines
244 B
Bash
Executable File
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
|