Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
sh "xz -v9 < dists/${DISTRO}/main/source/Sources \
> dists/${DISTRO}/main/source/Sources.xz"
+ // Generate Contents
+ sh "apt-ftparchive contents pool/${DISTRO}/main/${ARCH} \
+ > dists/${DISTRO}/main/Contents-${ARCH}"
+
+ // Compress Contents
+ sh "xz -v9 < dists/${DISTRO}/main/Contents-${ARCH} \
+ > dists/${DISTRO}/main/Contents-${ARCH}.xz"
+
// Stash the packages
stash includes: "dists/**/*, pool/**/*",
name: "${DISTRO}-${ARCH}"