Reduce Kali release image scope

This commit is contained in:
Bug Bounty Zip
2026-05-27 15:19:17 +03:00
parent 0adaf1c6d6
commit a1e2bc92e5
3 changed files with 6 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ jobs:
build: build:
needs: matrix needs: matrix
runs-on: self-hosted runs-on: self-hosted
timeout-minutes: 240 timeout-minutes: 360
permissions: permissions:
contents: write contents: write

View File

@@ -19,7 +19,7 @@ usage() {
echo "Options:" echo "Options:"
echo " --distro Distribution to build: ubuntu2604, arch, cachyos, kali, all (default: ubuntu2604)" echo " --distro Distribution to build: ubuntu2604, arch, cachyos, kali, all (default: ubuntu2604)"
echo " --kernel Path to kernel source directory (default: auto-clone to work/linux/)" echo " --kernel Path to kernel source directory (default: auto-clone to work/linux/)"
echo " --img-size Disk image size in MB (default: 12000, 32000 for --distro all, 98304 for kali)" echo " --img-size Disk image size in MB (default: 12000, 32000 for --distro all, 49152 for kali)"
echo " --clean Remove all cached build artifacts and start from scratch" echo " --clean Remove all cached build artifacts and start from scratch"
echo " --clean-only Remove all cached build artifacts and exit" echo " --clean-only Remove all cached build artifacts and exit"
echo " --kernel-only Build and package the kernel only, then exit" echo " --kernel-only Build and package the kernel only, then exit"
@@ -65,7 +65,7 @@ if [ "$DISTRO" = "all" ] && [ "$IMG_SIZE" = "12000" ]; then
IMG_SIZE=32000 IMG_SIZE=32000
fi fi
if [ "$DISTRO" = "kali" ] && [ "$IMG_SIZE" = "12000" ]; then if [ "$DISTRO" = "kali" ] && [ "$IMG_SIZE" = "12000" ]; then
IMG_SIZE=98304 IMG_SIZE=49152
fi fi
if [ -z "$FORMAT" ]; then if [ -z "$FORMAT" ]; then

View File

@@ -28,9 +28,10 @@ packages:
sets: sets:
- packages: - packages:
# Full Kali desktop and toolset # Official Kali desktop and default toolset. The full "everything" set is
# too large for reliable release builds on the self-hosted runner.
- kali-desktop-xfce - kali-desktop-xfce
- kali-linux-everything - kali-linux-default
- kali-defaults - kali-defaults
- kali-defaults-desktop - kali-defaults-desktop
- kali-themes - kali-themes