From 9f285e944074a297e161cf1e802069c62fbca1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Fri, 26 Jan 2018 16:33:56 +0000 Subject: [PATCH] Support building images out of kali-last-snapshot --- auto/config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/auto/config b/auto/config index 4acd013..991eada 100755 --- a/auto/config +++ b/auto/config @@ -85,6 +85,16 @@ case "$arch" in ;; esac +# Define options that vary across distributions +case "$dist" in + kali-last-snapshot) + # We don't want kali-last-snapshot to end up in the image, it + # should be replaced with kali-rolling + lb_opts="$lb_opts --distribution-binary kali-rolling" + lb_opts="$lb_opts --debootstrap-script /usr/share/debootstrap/scripts/kali-rolling" + ;; +esac + # Setup configuration files from variant and options # Drop all files that a former run might have put into place