Depend on Kali's fork of debian-cd, and disable DEP11 support

More details can be found at:
* https://gitlab.com/kalilinux/internal/roles/packager/-/issues/30
* https://salsa.debian.org/images-team/debian-cd/-/merge_requests/31
merge-requests/18/merge
Arnaud Rebillout 2 years ago
parent 972cedebd2
commit 00a213b179
No known key found for this signature in database
GPG Key ID: E725E87914600216

@ -246,8 +246,8 @@ case "$IMAGE_TYPE" in
fi
ver_debian_cd=$(dpkg-query -f '${Version}' -W debian-cd)
if dpkg --compare-versions "$ver_debian_cd" lt 3.1.36; then
echo "ERROR: You need debian-cd (>= 3.1.36), you have $ver_debian_cd" >&2
if dpkg --compare-versions "$ver_debian_cd" lt 3.2.1+kali1; then
echo "ERROR: You need debian-cd (>= 3.2.1+kali1), you have $ver_debian_cd" >&2
exit 1
fi
debug "ver_debian_cd: $ver_debian_cd"

@ -85,6 +85,9 @@ export ARCHIVE_KEYRING_PACKAGE=kali-archive-keyring
export DESKTOP=xfce
export DISKTYPE=${DISKTYPE:-DVD}
# Kali repo doesn't have dep11 metadata
export DEP11=0
# Configure a hook to apply our customization via debian-cd
export DISC_END_HOOK=$(pwd)/disc-end-hook

Loading…
Cancel
Save