Loading bin/reproducible_compare_Debian_sha1sums.sh +2 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ cd $SHA1DIR # downloading (and keeping) all the packages is also too much, but let's prototype this... (and improve later) PACKAGES=$(mktemp --tmpdir=$TMPDIR sha1-comp-XXXXXXX) schroot --directory $SHA1DIR -c chroot:jenkins-reproducible-unstable-diffoscope cat /var/lib/apt/lists/cdn-fastly.deb.debian.org_debian_dists_unstable_main_binary-amd64_Packages > $PACKAGES schroot --directory $SHA1DIR -c chroot:jenkins-reproducible-buster-diffoscope cat /var/lib/apt/lists/cdn-fastly.deb.debian.org_debian_dists_buster_main_binary-amd64_Packages > $PACKAGES packages="$(grep ^Package: $PACKAGES| awk '{print $2}' | sort | xargs echo)" reproducible_packages= Loading Loading @@ -84,7 +84,7 @@ for package in $packages ; do cd $pool_dir if [ ! -e ${package_file}.sha1output ] ; then echo -n "$(date -u) - preparing to download $filename" ( schroot --directory $SHA1DIR/$pool_dir -c chroot:jenkins-reproducible-unstable-diffoscope apt-get download ${package} 2>&1 |xargs echo ) || continue ( schroot --directory $SHA1DIR/$pool_dir -c chroot:jenkins-reproducible-buster-diffoscope apt-get download ${package} 2>&1 |xargs echo ) || continue echo "$(date -u) - calculating sha1sum" SHA1SUM_PKG="$(sha1sum ${package_file} | tee ${package_file}.sha1output | awk '{print $1}' )" rm ${package_file} Loading Loading
bin/reproducible_compare_Debian_sha1sums.sh +2 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ cd $SHA1DIR # downloading (and keeping) all the packages is also too much, but let's prototype this... (and improve later) PACKAGES=$(mktemp --tmpdir=$TMPDIR sha1-comp-XXXXXXX) schroot --directory $SHA1DIR -c chroot:jenkins-reproducible-unstable-diffoscope cat /var/lib/apt/lists/cdn-fastly.deb.debian.org_debian_dists_unstable_main_binary-amd64_Packages > $PACKAGES schroot --directory $SHA1DIR -c chroot:jenkins-reproducible-buster-diffoscope cat /var/lib/apt/lists/cdn-fastly.deb.debian.org_debian_dists_buster_main_binary-amd64_Packages > $PACKAGES packages="$(grep ^Package: $PACKAGES| awk '{print $2}' | sort | xargs echo)" reproducible_packages= Loading Loading @@ -84,7 +84,7 @@ for package in $packages ; do cd $pool_dir if [ ! -e ${package_file}.sha1output ] ; then echo -n "$(date -u) - preparing to download $filename" ( schroot --directory $SHA1DIR/$pool_dir -c chroot:jenkins-reproducible-unstable-diffoscope apt-get download ${package} 2>&1 |xargs echo ) || continue ( schroot --directory $SHA1DIR/$pool_dir -c chroot:jenkins-reproducible-buster-diffoscope apt-get download ${package} 2>&1 |xargs echo ) || continue echo "$(date -u) - calculating sha1sum" SHA1SUM_PKG="$(sha1sum ${package_file} | tee ${package_file}.sha1output | awk '{print $1}' )" rm ${package_file} Loading