Skip to content

Commit 5649a0d

Browse files
Joelgranadosdkruces
authored andcommitted
bringup: Use full path when creating custom_source file
Avoid "file not found" failures related to relative paths in custom_source Signed-off-by: Joel Granados <[email protected]> Reviewed-by: Daniel Gomez <[email protected]>
1 parent 5bfec2c commit 5649a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bringup_guestfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ build_custom_image()
111111
CUSTOM_IMAGE="${CUSTOM_IMAGE_DIR}/${OS_VERSION}.raw"
112112
CUSTOM_IMAGE_OK="${CUSTOM_IMAGE_DIR}.ok"
113113
CUSTOM_SOURCE="/etc/virt-builder/repos.d/kdevops-custom-images-${OS_VERSION}.conf"
114-
CUSTOM_INDEX="${CUSTOM_IMAGE_DIR}/index"
114+
CUSTOM_INDEX="$(realpath ${CUSTOM_IMAGE_DIR}/index)"
115115

116116
mkdir -p ${CUSTOM_IMAGE_DIR}
117117

0 commit comments

Comments
 (0)