Johannes Schauer Marin Rodrigues
9f8172bbc0
The dist-upgrade method will fail to install essential packages but still exit successfully without reporting an error, see #1072218
8 lines
318 B
Bash
8 lines
318 B
Bash
#!/bin/sh
|
|
set -eu
|
|
export LC_ALL=C.UTF-8
|
|
trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM
|
|
{{ CMD }} --mode={{ MODE }} --variant=essential \
|
|
--include '?or(?exact-name(dummy-does-not-exist),?exact-name(apt))' \
|
|
{{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
|
|
tar -tf /tmp/debian-chroot.tar | sort | diff -u tar1.txt -
|