On Thu, 2024-03-14 15:04:44 +0000, Taylor R Campbell <riastradh%NetBSD.org@localhost> wrote:
> > Date: Thu, 14 Mar 2024 09:00:38 +0000
> > From: jbglaw%lug-owl.de@localhost
> >
> > -IMAGEPREBUILD= ${TOOL_PAX} ${PAX_TIMESTAMP} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
> > +IMAGEPREBUILD= (cd ${DESTDIR} && ${TOOL_PAX} ${PAX_TIMESTAMP} -rw -pp libdata/firmware ${WORKDIR})
>
> ${WORKDIR} is probably a relative path `work', in which case this will
> copy ${DESTDIR}/libdata/firmware to ${DESTDIR}/work/libdata/firmware,
> which explains the checkflist errors you saw.
>
> Can you try this change instead?
>
> -IMAGEPREBUILD= ${TOOL_PAX} ${PAX_TIMESTAMP} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
> +IMAGEPREBUILD= (cd ${DESTDIR} && ${TOOL_PAX} ${PAX_TIMESTAMP} -w libdata/firmware) | (cd ${WORKDIR} && ${TOOL_PAX} -r -pp)
>
> (I don't know if there's a way to convince a single pax -rw instance
> to chdir into a source directory before taking relative paths to be
> copied into the target.)
Started two builds, will take a bit. Thanks for the suggestion!
MfG, JBG
--
Attachment:
signature.asc
Description: PGP signature