NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/58035: [RB] evbarm/earmv6: sshramdisk probably has firmware files in a wrong place



> 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.)


Home | Main Index | Thread Index | Old Index