Verified Commit 0912a230 authored by g0t mi1k's avatar g0t mi1k
Browse files

Synchronise script filename, output file and kali-docs URL

parent 20edf930
......@@ -2,11 +2,11 @@
Kali Linux ARM build-scripts.
These are the same build scripts that we use to generate the pre-generated official Kali Linux ARM images, found here: https://www.kali.org/get-kali/
These are the same build scripts that we use to generate the pre-generated official Kali Linux ARM 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/
For more information, please see: <https://www.kali.org/docs/arm/>
- - -
......@@ -23,7 +23,7 @@ cd ~/
git clone https://gitlab.com/kalilinux/build-scripts/kali-arm
cd ~/kali-arm/
sudo ./common.d/build_deps.sh
sudo ./rpi.sh
sudo ./raspberry-pi.sh
```
- Depending on your system hardware & network connectivity, will depend on how long it will take to build _(4 core CPU, 8GB RAM, SSD inside a VM takes using a [local repo](https://www.kali.org/docs/community/setting-up-a-kali-linux-mirror/) about 100 minutes per script)_
......@@ -38,28 +38,28 @@ sudo ./rpi.sh
On any build script, add `--help`. Example:
```
$ ./rpi.sh --help
$ ./raspberry-pi.sh --help
Usage commands:
# Architectures (arm64, armel, armhf)
./rpi.sh --arch arm64 or ./rpi.sh -a armhf
./raspberry-pi.sh --arch arm64 or ./raspberry-pi.sh -a armhf
# Desktop manager (xfce, gnome, kde, i3, i3-gaps, lxde, mate, e17 or none)
./rpi.sh --desktop kde or ./rpi.sh --desktop=kde
./raspberry-pi.sh --desktop kde or ./raspberry-pi.sh --desktop=kde
# Minimal image - no desktop manager
./rpi.sh --minimal or ./rpi.sh -m
./raspberry-pi.sh --minimal or ./raspberry-pi.sh -m
# Slim image - no desktop manager & cli tools
./rpi.sh --slim or ./rpi.sh -s
./raspberry-pi.sh --slim or ./raspberry-pi.sh -s
# Enable debug & log file (./logs/<file>.log)
./rpi.sh --debug or ./rpi.sh -d
./raspberry-pi.sh --debug or ./raspberry-pi.sh -d
# Perform extra checks on the images build
./rpi.sh --extra or ./rpi.sh -x
./raspberry-pi.sh --extra or ./raspberry-pi.sh -x
# Help screen (this)
./rpi.sh --help or ./rpi.sh -h
./raspberry-pi.sh --help or ./raspberry-pi.sh -h
$
```
......@@ -75,4 +75,4 @@ $ echo 'mirror="http://192.168.1.100/kali"' > ./builder.txt
- - -
Tue Nov 9 20:48:42 UTC 2021
Thu Jan 27 15:47:28 UTC 2022
#!/usr/bin/env bash
#
# Kali Linux ARM build-script for Beaglebone Black (32-bit)
# Kali Linux ARM build-script for BeagleBone Black (32-bit)
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a community script - you will need to generate your own image to use
......
#!/usr/bin/env bash
#
# Kali Linux ARM build-script for Chromebook (Samsung - Exynos) (32-bit)
# Kali Linux ARM build-script for Chromebook 1/2 (Exynos Samsung daisy_snow/peach_pi/peach_pit & HP daisy_spring) (32-bit)
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a community script - you will need to generate your own image to use
# More information: https://www.kali.org/docs/arm/samsung-chromebook/
# More information: https://www.kali.org/docs/arm/chromebook-exynos/
#
# Stop on error
......
#!/usr/bin/env bash
#
# Kali Linux ARM build-script for Chromebook (Acer - Nyan) (32-bit)
# Kali Linux ARM build-script for Chromebook (Nyan Acer Tegra) (32-bit)
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a community script - you will need to generate your own image to use
# More information: https://www.kali.org/docs/arm/acer-tegra-chromebook-13/
# More information: https://www.kali.org/docs/arm/chromebook-nyan/
#
# Stop on error
......
#!/usr/bin/env bash
#
# Kali Linux ARM build-script for Chromebook (ASUS - Veyron) (32-bit)
# Kali Linux ARM build-script for Chromebook (Veyron ASUS Flip) (32-bit)
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a community script - you will need to generate your own image to use
# More information: https://www.kali.org/docs/arm/asus-chromebook-flip/
# More information: https://www.kali.org/docs/arm/chromebook-veyron/
#
# Stop on error
......
......@@ -4,7 +4,7 @@
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a supported device - which you can find pre-generated images on: https://www.kali.org/get-kali/
# More information: https://www.kali.org/docs/arm/nanopc-t3/
# More information: https://www.kali.org/docs/arm/nanopc-t/
#
# Hardware model
......
......@@ -175,8 +175,9 @@ sync
# Write the signed u-boot binary to the image so that it will boot
status "u-Boot"
cd "${base_dir}"
git clone --depth 1 -b odroidxu4-v2017.05 https://github.com/hardkernel/u-boot.git
git clone --depth 1 -b odroidxu4-v2017.05 https://github.com/hardkernel/u-boot.git "${base_dir}"/u-boot
cd "${base_dir}"/u-boot
alias python=python3
make odroid-xu4_defconfig
make
cd sd_fuse
......
......@@ -4,7 +4,7 @@
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a supported device - which you can find pre-generated images on: https://www.kali.org/get-kali/
# More information: https://www.kali.org/docs/arm/raspberry-pi-2-1.2/
# More information: https://www.kali.org/docs/arm/raspberry-pi-64-bit/
#
# Hardware model
......
#!/usr/bin/env bash
#
# Kali Linux ARM build-script for Raspberry Pi Zero W (Pi-Tail) (32-bit)
# Kali Linux ARM build-script for Raspberry Pi Zero 2 W (Pi-Tail) (32-bit)
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a supported device - which you can find pre-generated images on: https://www.kali.org/get-kali/
......@@ -8,7 +8,7 @@
#
# Hardware model
hw_model=${hw_model:-"rpi-zero-2-w-pitail"}
hw_model=${hw_model:-"raspberry-pi-zero-2-w-pitail"}
# Architecture
architecture=${architecture:-"armhf"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
#!/usr/bin/env bash
#
# Kali Linux ARM build-script for Raspberry Pi 2/3/4/400 (32-bit)
# Kali Linux ARM build-script for Raspberry Pi Zero 2 W (32-bit)
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a supported device - which you can find pre-generated images on: https://www.kali.org/get-kali/
# More information: https://www.kali.org/docs/arm/raspberry-pi-2/
# More information: https://www.kali.org/docs/arm/raspberry-pi-zero-2-w/
#
# Hardware model
hw_model=${hw_model:-"rpi-zero-2-w"}
hw_model=${hw_model:-"raspberry-pi-zero-2-w"}
# Architecture
architecture=${architecture:-"armhf"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
......@@ -27,7 +27,7 @@ machine=$(tr -cd 'A-Za-z0-9' < /dev/urandom | head -c16 ; echo)
# Custom hostname variable
hostname=${2:-kali}
# Custom image file name variable - MUST NOT include .img at the end
image_name=${3:-kali-linux-$1-rpi-zero-w-p4wnp1-aloa}
image_name=${3:-kali-linux-$1-raspberry-pi-zero-w-p4wnp1-aloa}
# Suite to use, valid options are:
# kali-rolling, kali-dev, kali-bleeding-edge, kali-dev-only, kali-experimental, kali-last-snapshot
suite=${suite:-"kali-rolling"}
......
......@@ -8,7 +8,7 @@
#
# Hardware model
hw_model=${hw_model:-"rpi-zero-w-pitail"}
hw_model=${hw_model:-"raspberry-pi-zero-w-pitail"}
# Architecture
architecture=${architecture:-"armel"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
......@@ -8,7 +8,7 @@
#
# Hardware model
hw_model=${hw_model:-"rpi-zero-w"}
hw_model=${hw_model:-"raspberry-pi-zero-w"}
# Architecture
architecture=${architecture:-"armel"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
......@@ -8,7 +8,7 @@
#
# Hardware model
hw_model=${hw_model:-"rpi"}
hw_model=${hw_model:-"raspberry-pi"}
# Architecture
architecture=${architecture:-"armhf"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
......@@ -8,7 +8,7 @@
#
# Hardware model
hw_model=${hw_model:-"rpi1"}
hw_model=${hw_model:-"raspberry-pi1"}
# Architecture
architecture=${architecture:-"armel"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
......@@ -4,11 +4,11 @@
# Source: https://gitlab.com/kalilinux/build-scripts/kali-arm
#
# This is a community script - you will need to generate your own image to use
# More information: https://www.kali.org/docs/arm/usb-armory-mkii/
# More information: https://www.kali.org/docs/arm/usb-armory-mki/
#
# Hardware model
hw_model=${hw_model:-"usbarmory-mki"}
hw_model=${hw_model:-"usb-armory-mki"}
# Architecture
architecture=${architecture:-"armhf"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
......@@ -8,7 +8,7 @@
#
# Hardware model
hw_model=${hw_model:-"usbarmory-mkii"}
hw_model=${hw_model:-"usb-armory-mkii"}
# Architecture
architecture=${architecture:-"armhf"}
# Desktop manager (xfce, gnome, i3, kde, lxde, mate, e17 or none)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment