mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Trim trailing '/release/..' when setting _OBJDIR so arm64/aarch64
boot1.efifat is properly located when creating virtual machine images. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
609b7b269d
commit
f56769dd00
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ write_partition_layout() {
|
|||
fi
|
||||
|
||||
_OBJDIR="$(make -C ${WORLDDIR} -V .OBJDIR)"
|
||||
_OBJDIR="$(realpath ${_OBJDIR})"
|
||||
if [ -d "${_OBJDIR%%/usr/src}/${TARGET}.${TARGET_ARCH}" ]; then
|
||||
BOOTFILES="/${_OBJDIR%%/usr/src}/${TARGET}.${TARGET_ARCH}/usr/src/sys/boot"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue