From 4561884cbe7e784d02d2112e250590d63d12f826 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Fri, 10 Mar 2023 16:25:18 +0700 Subject: [PATCH] Make Kali Purple installer offline The package exploitdb-papers was removed from kali-tools-identify in src:kali-meta 2023.1.11, so there's no need to exclude it here anymore. As a consequence, no need for the network during installation anymore. --- build.sh | 4 ++-- simple-cdd/profiles/kali-purple.excludes | 3 --- simple-cdd/profiles/kali-purple.preseed | 4 ---- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 simple-cdd/profiles/kali-purple.excludes delete mode 100644 simple-cdd/profiles/kali-purple.preseed diff --git a/build.sh b/build.sh index ae125ad..6281e03 100755 --- a/build.sh +++ b/build.sh @@ -327,8 +327,8 @@ case "$IMAGE_TYPE" in auto_profiles="kali" elif [ "$KALI_VARIANT" = "purple" ]; then export DISKTYPE="BD" - profiles="kali kali-purple" - auto_profiles="kali kali-purple" + profiles="kali kali-purple offline" + auto_profiles="kali kali-purple offline" export KERNEL_PARAMS="debian-installer/theme=Clearlooks-Purple" else # plain installer export DISKTYPE="BD" diff --git a/simple-cdd/profiles/kali-purple.excludes b/simple-cdd/profiles/kali-purple.excludes deleted file mode 100644 index 2870ae3..0000000 --- a/simple-cdd/profiles/kali-purple.excludes +++ /dev/null @@ -1,3 +0,0 @@ -# Exclude big packages that are Recommended by defensive tools metapackages. -# Keep this list in sync with kali-meta/debian/control. -exploitdb-papers diff --git a/simple-cdd/profiles/kali-purple.preseed b/simple-cdd/profiles/kali-purple.preseed deleted file mode 100644 index 6792381..0000000 --- a/simple-cdd/profiles/kali-purple.preseed +++ /dev/null @@ -1,4 +0,0 @@ -# Do use a network mirror, but do not upgrade, so that -# only missing packages are fetched. -d-i apt-setup/use_mirror boolean true -d-i pkgsel/upgrade select none