Using a compressed empty file instead of a compressed archive means these files need to be treated specially throughout the entire package pipeline.
Signed-off-by: Jon Turney <[email protected]> --- lib/pkg_pkg.cygpart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pkg_pkg.cygpart b/lib/pkg_pkg.cygpart index 294260d..8cb2492 100644 --- a/lib/pkg_pkg.cygpart +++ b/lib/pkg_pkg.cygpart @@ -175,7 +175,7 @@ __pkg_binpkg() { else inform "Creating empty package" mkdir -p ${distdir}/${PN}/${distsubdir}; - xz < /dev/null > ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.tar.xz \ + tar -Jcf ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.tar.xz --files-from /dev/null \ || error "Empty package creation failed" > ${T}/.${pkg_name[${n}]}.lst fi @@ -723,7 +723,7 @@ _EOF for obspkg in ${!pkg_obsoletes_var} do mkdir -p ${distdir}/${PN}/${obspkg}; - xz < /dev/null > ${distdir}/${PN}/${obspkg}/${obspkg}-${PVR}.tar.xz + tar -Jcf ${distdir}/${PN}/${obspkg}/${obspkg}-${PVR}.tar.xz --files-from /dev/null __step "${pkg_name[${n}]} OBSOLETES: ${obspkg}" -- 2.8.3
