[meta-virtualization] [PATCH] Fix QA Issues when building for aarch64 machines
M. Gregory
mbgrego at tycho.nsa.gov
Mon Mar 7 12:23:42 PST 2016
On 03/07/2016 11:34 AM, Bruce Ashfield wrote:
> I merged this by mistake while reviewing the change .. but I have a
> question.
>
> On Fri, Mar 4, 2016 at 4:30 PM, Machon Gregory <mbgrego at tycho.nsa.gov
> <mailto:mbgrego at tycho.nsa.gov>> wrote:
>
> When building for the aarch64 based machines the following QA Issue is
> produced:
>
> ERROR: QA Issue: xen: Files/directories were installed but not
> shipped in any package:
> /usr/lib64
> /usr/lib64/efi
> /usr/lib64/efi/xen-4.6.efi
> /usr/lib64/efi/xen-4.6.0.efi
> /usr/lib64/efi/xen.efi
> /usr/lib64/efi/xen-4.efi
>
> Signed-off-by: Machon Gregory <mbgrego at tycho.nsa.gov
> <mailto:mbgrego at tycho.nsa.gov>>
> ---
> recipes-extended/xen/xen.inc | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/recipes-extended/xen/xen.inc
> b/recipes-extended/xen/xen.inc
> index d35bc3f..2eba012 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -151,6 +151,7 @@ PACKAGES = "\
> ${PN}-dev \
> ${PN}-devd \
> ${PN}-doc \
> + ${PN}-efi \
> ${PN}-flask \
> ${PN}-fsimage \
> ${PN}-gdbsx \
> @@ -303,6 +304,11 @@ FILES_${PN}-hypervisor = "\
> /boot/xen-syms-* \
> "
>
> +FILES_${PN}-efi = "\
> + ${exec_prefix}/lib64 \
> + ${exec_prefix}/lib64/xen* \
>
>
> This should be ${libdir), which tracks lib or lib64 based on the arch.
> I don't have a
> Xen build handy to try a quick test. Can you confirm that libdir also
> fixes this ?
>
In my build ${libdir} is set to /usr/lib despite the architecture
aarch64. Xen arm64.mk manually sets EFI_DIR=/usr/lib64. I realize the
that patch I submitted goes against convention, but I am not sure of the
correct solution. Would it be better to set EFI_DIR=${libdir}?
> Bruce
>
>
> + "
> +
> FILES_${PN}-base = "\
> ${sysconfdir}/xen/auto \
> ${sysconfdir}/xen/cpupool \
> --
> 2.1.0
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> <mailto:meta-virtualization at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
--
Machon Gregory
Trusted Mechanisms Team
Trusted Systems Research Group
(443)634-3832
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160307/563253a0/attachment.html>
More information about the meta-virtualization
mailing list