pi3-Met-trixie template added
+ modifications on README
This commit is contained in:
17
README.md
17
README.md
@@ -26,9 +26,9 @@ BUILD_KERNEL=true ENABLE_MINBASE=true ENABLE_IPV6=false ./rpi23-gen-image.sh
|
||||
BUILD_KERNEL=true KERNELSRC_DIR=/tmp/linux ./rpi23-gen-image.sh
|
||||
ENABLE_MINBASE=true ENABLE_REDUCE=true ENABLE_MINGPU=true BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
ENABLE_CRYPTFS=true CRYPTFS_PASSWORD=changeme EXPANDROOT=false ENABLE_MINBASE=true ENABLE_REDUCE=true ENABLE_MINGPU=true BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
RELEASE=buster BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
RELEASE=trixie BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
RPI_MODEL=3 ENABLE_WIRELESS=true ENABLE_MINBASE=true BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
RELEASE=buster RPI_MODEL=3 ENABLE_WIRELESS=true ENABLE_MINBASE=true BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
RELEASE=trixie RPI_MODEL=3 ENABLE_WIRELESS=true ENABLE_MINBASE=true BUILD_KERNEL=true ./rpi23-gen-image.sh
|
||||
```
|
||||
|
||||
## Configuration template files
|
||||
@@ -65,8 +65,8 @@ CONFIG_TEMPLATE=rpi2stretch ./rpiGenImage.sh
|
||||
|---|---|---|---|---|
|
||||
|SET_ARCH|integer|32|`32`\|`64`|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.|
|
||||
|RPI_MODEL|string|3P|`0`\|`1`\|`1P`\|`2`\|`3`\|`3P`\|`4`|Set Architecture. This option will set most build options accordingly. Specify the target Raspberry Pi hardware model.|
|
||||
|RELEASE|string|buster|`jessie`\|`buster`\|`stretch`<br>\|`bullseye`\|`testing`\|`stable`<br>\|`oldstable`|Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases `stretch` and `buster`.|
|
||||
|HOSTNAME|string|RPI_MODEL-RELEASE(e.g. RPI3-buster)|`SomeImageName.img`|Set system hostname. It's recommended that the hostname is unique in the corresponding subnet.|
|
||||
|RELEASE|string|trixie|`bullseye`\|`bookworm`\|`trixie`<br>\|`forky`\|`testing`\|`stable`<br>\|`oldstable`|Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases `trixie` and `forky`.|
|
||||
|HOSTNAME|string|RPI_MODEL-RELEASE(e.g. RPI3-trixie)|`SomeImageName.img`|Set system hostname. It's recommended that the hostname is unique in the corresponding subnet.|
|
||||
|DEFLOCAL|string|en_US.UTF-8|`Locale.Charset`|Set default system locale. This setting can also be changed inside the running OS using the `dpkg-reconfigure locales` command. Please note that on using this parameter the script will automatically install the required packages `locales`, `keyboard-configuration` and `console-setup`.|
|
||||
|TIMEZONE|string|Europe/Berlin|`Timezone`|Set default system timezone. All available timezones can be found in the `/usr/share/zoneinfo/` directory. This setting can also be changed inside the running OS using the `dpkg-reconfigure tzdata` command.|
|
||||
|EXPANDROOT|boolean|true|`true`\|`false`|true=Expand the root partition and filesystem automatically on first boot|
|
||||
@@ -100,8 +100,7 @@ These options are used to configure keyboard layout in `/etc/default/keyboard` f
|
||||
#### Networking settings:
|
||||
ethernet setting go to `/etc/systemd/network/eth0.network`.
|
||||
wifi settings go to `/etc/systemd/network/wlan0.network`.
|
||||
|
||||
The default location of network configuration files in the Debian `stretch` release was changed to `/lib/systemd/network`.`
|
||||
network configuration files go to `/lib/systemd/network`.`
|
||||
|
||||
|Option|Value|default value|desciption|
|
||||
|---|---|---|---|
|
||||
@@ -200,7 +199,7 @@ The following static networking parameters are only supported if `ENABLE_WIFI_DH
|
||||
|ENABLE_KEYGEN|boolean|false|`true`\|`false`|Recover your lost codec license|
|
||||
|ENABLE_MINBASE|boolean|false|`true`\|`false`|Use debootstrap script variant `minbase` which only includes essential packages and apt. This will reduce the disk usage by about 65 MB|
|
||||
|ENABLE_SPLITFS|boolean|false|`true`\|`false`|Enable having root partition on an USB drive by creating two image files: one for the `/boot/firmware` mount point, and another for `/`|
|
||||
|ENABLE_INITRAMFS|boolean|false|`true`\|`false`|Create an initramfs that that will be loaded during the Linux startup process. `ENABLE_INITRAMFS` will automatically get enabled if `ENABLE_CRYPTFS`=true. This parameter will be ignored if `BUILD_KERNEL`=false|
|
||||
|ENABLE_INITRAMFS|boolean|false|`true`\|`false`|Create an initramfs that that will be loaded during the Linux startup process. `ENABLE_INITRAMFS` will automatically get enabled if `ENABLE_CRYPTFS`=true. This parameter will be ignored if `BUILD_KERNEL`!=true|
|
||||
|ENABLE_DBUS|boolean|true|`true`\|`false`|Install and enable D-Bus message bus. Please note that systemd should work without D-bus but it's recommended to be enabled|
|
||||
|ENABLE_USBBOOT|boolean|false|`true`\|`false`|true=prepare image for usbboot. use with `ENABLE_SPLTFS`=true|
|
||||
|CHROOT_SCRIPTS|string||`FullPathToScriptFolder`|Full path to a directory with scripts that should be run in the chroot before the image is finally built. Every executable file in this directory is run in lexicographical order|
|
||||
@@ -232,7 +231,7 @@ The following static networking parameters are only supported if `ENABLE_WIFI_DH
|
||||
|
||||
|Option|Value|default value|value format|desciption|
|
||||
|---|---|---|---|---|
|
||||
|BUILD_KERNEL||build|`build`\|`uselocal`\|`download`|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. ENABLE_NEXMON - Changes Kernel Source to [https://github.com/Re4son/](Kali Linux Kernel) Precompiled 32bit kernel for RPI0/1/2/3 by [https://github.com/hypriot/](hypriot) Precompiled 64bit kernel for RPI3/4 by [https://github.com/sakaki-/](sakaki)|
|
||||
|BUILD_KERNEL||build|`true`\|`uselocal`\|`download`|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. ENABLE_NEXMON - Changes Kernel Source to [https://github.com/Re4son/](Kali Linux Kernel) Precompiled 32bit kernel for RPI0/1/2/3 by [https://github.com/hypriot/](hypriot) Precompiled 64bit kernel for RPI3/4 by [https://github.com/sakaki-/](sakaki)|
|
||||
|CROSS_COMPILE|string|||This sets the cross-compile environment for the compiler. Set by RPI_MODEL|
|
||||
|KERNEL_ARCH|string|||This sets the kernel architecture for the compiler. Set by RPI_MODEL|
|
||||
|KERNEL_IMAGE|string|||Name of the image file in the boot partition. Set by RPI_MODEL|
|
||||
@@ -286,7 +285,7 @@ The following list of parameters is ignored if `ENABLE_REDUCE`=false.
|
||||
|
||||
|Option|Value|default value|value format|desciption|
|
||||
|---|---|---|---|---|
|
||||
|ENABLE_CRYPTFS|boolean|false|`true`\|`false`|Enable full system encryption with dm-crypt. Setup a fully LUKS encrypted root partition (aes-xts-plain64:sha512) and generate required initramfs. The /boot directory will not be encrypted. This parameter will be ignored if `BUILD_KERNEL`=false. `ENABLE_CRYPTFS` is experimental|
|
||||
|ENABLE_CRYPTFS|boolean|false|`true`\|`false`|Enable full system encryption with dm-crypt. Setup a fully LUKS encrypted root partition (aes-xts-plain64:sha512) and generate required initramfs. The /boot directory will not be encrypted. This parameter will be ignored if `BUILD_KERNEL`!=true. `ENABLE_CRYPTFS` is experimental|
|
||||
|CRYPTFS_PASSWORD|string||`YourPasswordToUnlockCrypto`|Set password of the encrypted root partition. This parameter is mandatory if `ENABLE_CRYPTFS`=true|
|
||||
|CRYPTFS_MAPPING|string|secure|`YourDevMNapperName`|crypsetup device-mapper name|
|
||||
|CRYPTFS_CIPHER|string|aes-xts-plain64|`aes-cbc-essiv:sha256`|cryptsetup cipher `aes-xts*` ciphers are strongly recommended|
|
||||
|
||||
Reference in New Issue
Block a user