Ben Wilson 228ccb1ce5 Merge branch 'master' into consistency
# Conflicts:
#	.gitignore
#	banana-pi.sh
#	banana-pro.sh
#	beaglebone-black.sh
#	chromebook-exynos.sh
#	chromebook-nyan.sh
#	common.d/builder.txt.example
#	common.d/compress_img.sh
#	common.d/variables.sh
#	cubieboard2.sh
#	cubietruck.sh
#	cubox-i4pro.sh
#	cubox.sh
#	gateworks-newport.sh
#	gateworks-ventana.sh
#	mini-x.sh
#	nanopc-t.sh
#	nanopi-neo-plus2-minimal.sh
#	nanopi-neo-plus2.sh
#	nanopi2.sh
#	odroid-c.sh
#	odroid-c2.sh
#	odroid-u2.sh
#	odroid-xu3.sh
#	pinebook-pro.sh
#	pinebook.sh
#	riotboard.sh
#	rpi-64bit-minimal.sh
#	rpi-64bit.sh
#	rpi.sh
#	rpi0w-minimal.sh
#	rpi0w-p4wnp1-aloa.sh
#	rpi0w-pitail.sh
#	rpi0w.sh
#	rpi1.sh
#	trimslice.sh
#	usb-armory-mki.sh
#	usb-armory-mkii.sh
#	utilite-pro.sh
2021-09-18 05:55:38 +01:00
2021-09-18 04:53:23 +01:00
2021-09-18 04:45:28 +01:00
2021-09-18 05:55:38 +01:00
2021-09-18 05:55:38 +01:00

Kali-ARM Build-Scripts

Kali Linux ARM build-scripts.

These are the same build scripts that we use to generate the pre-generated official Kali Linux ARM images images, found here: https://www.kali.org/get-kali/

There are additional scripts included in this repository, supporting more devices, but these will need to be built in order for them to be used.

For more information, please see: https://www.kali.org/docs/arm/


Building

  • These scripts are tested on Kali Linux x64 and x86 installations only (We recommend x64)
  • Make sure you run the ./common.d/build-deps.sh script before trying to build an image, as this installs all required dependencies
  • You will need at least 8GB of RAM or use SWAP file

An example workflow to build a Raspberry Pi 4 Kali Linux image would look like:

cd ~/
git clone https://gitlab.com/kalilinux/build-scripts/kali-arm
cd ~/kali-arm/
sudo ./common.d/build-deps.sh
sudo ./rpi.sh
  • Depending on your system hardware & network connectivity, will depend on how long it will take to build
  • On x64 systems, after the script finishes running, you will have an image files located in ~/kali-arm/images/ called kali-linux-2021.3-rpi-armhf.img.xz
  • On x86 systems, as they do not have enough RAM to compress the image, after the script finishes running, you will have an image file located in ~/kali-arm/images/ called kali-linux-2021.3-rpi-armhf.img
    • Should you want to try and shrink the file to make it easier to distribute, you will need to use your own preferred compression.

Help

$ ./rpi.sh --help
# Architecture (arm64, armel, armhf)
./rpi.sh --arch arm64

# Desktop manager (xfce, gnome, kde, i3, lxde, mate, e17 or none)
./rpi.sh --desktop kde

# Enable debug & log file
./rpi.sh --debug

# Help screen (this)
./rpi.sh --help
$

Custom Values

An example of using a custom local LAN mirror:

$ echo 'mirror="http://192.168.1.100/kali"' > ./common.d/builder.txt
...OR...
$ sed 's_^#__' ./common.d/builder.txt.example > ./common.d/builder.txt

Fri Sep 17 14:59:38 UTC 2021

Description
No description provided
Readme 19 MiB
Languages
Shell 82.5%
C 9.7%
Python 7%
CSS 0.7%
HTML 0.1%