@@ -1,24 +1,13 | |||||
1 | # rpi23-gen-image |
|
1 | # rpi23-gen-image | |
2 | ## Introduction |
|
2 | ## Introduction | |
3 | <<<<<<< HEAD |
|
|||
4 |
|
3 | |||
5 |
|
4 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for Raspberry Pi 2 (RPi2), Raspberry Pi 3 (RPi3) and Raspberry Pi 4 (RPi4) computers. The script at this time supports the bootstrapping of the Debian (armhf) releases `jessie`, `stretch`, `buster` and 'bullseye'. Raspberry Pi 3 images are generated for 32-bit mode only. Raspberry Pi 3 and Raspberry Pi 4 64-bit images can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.11.y```). | ||
6 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for Raspberry Pi 2 (RPi2) and Raspberry Pi 3 (RPi3) computers. The script at this time supports the bootstrapping of the Debian (armhf) releases `jessie`, `stretch` and `buster`. Raspberry Pi 3 images are generated for 32-bit mode only. Raspberry Pi 3 64-bit images can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.11.y```). |
|
|||
7 |
|
||||
8 |
|
||||
9 | ======= |
|
|||
10 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for all Raspberry Pi computers. The script at this time supports the bootstrapping of the Debian (armhf/armel) releases `stretch` and `buster`. Raspberry Pi 0/1/2/3/4 images are generated for 32-bit mode only. Raspberry Pi 3 supports 64-bit images that can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.14.y```). |
|
|||
11 | >>>>>>> af203dbe173e4e5ca755058b3284dc61375ca579 |
|
|||
12 |
|
5 | |||
13 | ## Build dependencies |
|
6 | ## Build dependencies | |
14 | The following list of Debian packages must be installed on the build system because they are essentially required for the bootstrapping process. The script will check if all required packages are installed and missing packages will be installed automatically if confirmed by the user. |
|
7 | The following list of Debian packages must be installed on the build system because they are essentially required for the bootstrapping process. The script will check if all required packages are installed and missing packages will be installed automatically if confirmed by the user. | |
15 |
|
8 | |||
16 | ```debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo``` |
|
9 | ```debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo``` | |
17 |
|
10 | |||
18 | <<<<<<< HEAD |
|
|||
19 | It is recommended to configure the `rpi23-gen-image.sh` script to build and install the latest Raspberry Pi Linux kernel. For the Raspberry 3 this is mandatory. Kernel compilation and linking will be performed on the build system using an ARM (armhf/armel) cross-compiler toolchain. |
|
|||
20 | ======= |
|
|||
21 | >>>>>>> af203dbe173e4e5ca755058b3284dc61375ca579 |
|
|||
22 | It is recommended to configure the `rpi23-gen-image.sh` script to build and install the latest Raspberry Pi Linux kernel. For the Raspberry 3 this is mandatory. Kernel compilation and linking will be performed on the build system using an ARM (armhf/armel/aarch64) cross-compiler toolchain. |
|
11 | It is recommended to configure the `rpi23-gen-image.sh` script to build and install the latest Raspberry Pi Linux kernel. For the Raspberry 3 this is mandatory. Kernel compilation and linking will be performed on the build system using an ARM (armhf/armel/aarch64) cross-compiler toolchain. | |
23 |
|
12 | |||
24 | The script has been tested using the default `crossbuild-essential-armhf` and `crossbuild-essential-armel` toolchain meta packages on Debian Linux `stretch` build systems. Please check the [Debian CrossToolchains Wiki](https://wiki.debian.org/CrossToolchains) for further information. |
|
13 | The script has been tested using the default `crossbuild-essential-armhf` and `crossbuild-essential-armel` toolchain meta packages on Debian Linux `stretch` build systems. Please check the [Debian CrossToolchains Wiki](https://wiki.debian.org/CrossToolchains) for further information. | |
@@ -73,10 +62,7 A comma-separated list of additional packages to be installed by apt after boots | |||||
73 |
|
62 | |||
74 | #### General system settings: |
|
63 | #### General system settings: | |
75 | ##### `SET_ARCH`=32 |
|
64 | ##### `SET_ARCH`=32 | |
76 | <<<<<<< HEAD |
|
65 | ||
77 | Set Architecture to default 32bit. If you want to compile 64-bit (RPI3 or RPI3+) set it to `64`. This option will set every needed cross-compiler or board specific option for a successful build. |
|
|||
78 | ======= |
|
|||
79 | >>>>>>> af203dbe173e4e5ca755058b3284dc61375ca579 |
|
|||
80 | Set Architecture to default 32bit. If you want to compile 64-bit (RPI3/RPI3+/RPI4) set it to `64`. This option will set every needed cross-compiler or board specific option for a successful build. |
|
66 | Set Architecture to default 32bit. If you want to compile 64-bit (RPI3/RPI3+/RPI4) set it to `64`. This option will set every needed cross-compiler or board specific option for a successful build. | |
81 |
|
67 | |||
82 | ##### `RPI_MODEL`=2 |
|
68 | ##### `RPI_MODEL`=2 | |
@@ -331,10 +317,6 Add SSH (v2) public key(s) from specified file to `authorized_keys` file to enab | |||||
331 |
|
317 | |||
332 | #### Kernel compilation: |
|
318 | #### Kernel compilation: | |
333 | ##### `BUILD_KERNEL`=true |
|
319 | ##### `BUILD_KERNEL`=true | |
334 | <<<<<<< HEAD |
|
|||
335 | Build and install the latest RPi 0/1/2/3 Linux kernel. Currently only the default RPi 0/1/2/3 kernel configuration is used. |
|
|||
336 | ======= |
|
|||
337 | >>>>>>> af203dbe173e4e5ca755058b3284dc61375ca579 |
|
|||
338 | Build and install the latest RPi 0/1/2/3/4 Linux kernel. The default RPi 0/1/2/3/ kernel configuration is used most of the time. |
|
320 | Build and install the latest RPi 0/1/2/3/4 Linux kernel. The default RPi 0/1/2/3/ kernel configuration is used most of the time. | |
339 | ENABLE_NEXMON - Changes Kernel Source to [https://github.com/Re4son/](Kali Linux Kernel) |
|
321 | ENABLE_NEXMON - Changes Kernel Source to [https://github.com/Re4son/](Kali Linux Kernel) | |
340 | Precompiled 32bit kernel for RPI0/1/2/3 by [https://github.com/hypriot/](hypriot) |
|
322 | Precompiled 32bit kernel for RPI0/1/2/3 by [https://github.com/hypriot/](hypriot) | |
@@ -469,10 +451,6 Set password of the encrypted root partition. This parameter is mandatory if `EN | |||||
469 | ##### `CRYPTFS_MAPPING`="secure" |
|
451 | ##### `CRYPTFS_MAPPING`="secure" | |
470 | Set name of dm-crypt managed device-mapper mapping. |
|
452 | Set name of dm-crypt managed device-mapper mapping. | |
471 |
|
453 | |||
472 | <<<<<<< HEAD |
|
|||
473 | ##### `CRYPTFS_CIPHER`="aes-xts-plain64:sha512" |
|
|||
474 | ======= |
|
|||
475 | >>>>>>> af203dbe173e4e5ca755058b3284dc61375ca579 |
|
|||
476 | ##### `CRYPTFS_CIPHER`="aes-xts-plain64" |
|
454 | ##### `CRYPTFS_CIPHER`="aes-xts-plain64" | |
477 | Set cipher specification string. `aes-xts*` ciphers are strongly recommended. |
|
455 | Set cipher specification string. `aes-xts*` ciphers are strongly recommended. | |
478 |
|
456 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant