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|
|
||||
|
||||
138
templates/rpi3-Met-trixie.conf
Normal file
138
templates/rpi3-Met-trixie.conf
Normal file
@@ -0,0 +1,138 @@
|
||||
#
|
||||
# Configuration file raspi3 /trixie ENS de Lyon 2025/10/21
|
||||
#
|
||||
#---------------------
|
||||
#--- APT settings ----
|
||||
#---------------------
|
||||
#APT_SERVER=debian.mirrors.ovh.net
|
||||
#APT_SERVER=debian.proxad.net
|
||||
APT_SERVER=deb.debian.org
|
||||
APT_INCLUDES="zstd,zst,liblzma-dev,libzstd-dev, \
|
||||
zarchive-tools,liblzma-dev"
|
||||
#-------------------------------------
|
||||
# packages removed for various reasons
|
||||
#-------------------------------------
|
||||
#gnome-backgrounds,mate-backgrounds, \
|
||||
#geany,openbox-dev,openbox-lxde-session,
|
||||
#xutils-dev,lxrandr, tightvncserver,\
|
||||
#,x11proto-randr-dev,terminator,texlive,texlive-xetex
|
||||
APT_INCLUDES_LATE=""
|
||||
|
||||
#-------------------------------
|
||||
#--- General System Settings ---
|
||||
#-------------------------------
|
||||
SET_ARCH=32
|
||||
RPI_MODEL=3
|
||||
RELEASE="trixie"
|
||||
RELEASE_ARCH="armhf"
|
||||
HOSTNAME="raspife3"
|
||||
DEFLOCAL="fr_FR.UTF-8"
|
||||
TIMEZONE="Europe/Paris"
|
||||
EXPANDROOT=false
|
||||
ENABLE_QEMU=false
|
||||
#---------------------
|
||||
#--- User Settings ---
|
||||
#---------------------
|
||||
ENABLE_ROOT=true
|
||||
ROOT_PASSWORD="Achanger1$"
|
||||
ENABLE_USER=true
|
||||
USER_NAME=ens-ife
|
||||
USER_PASSWORD="AChanger1$"
|
||||
#-------------------------
|
||||
#--- Keyboard Settings ---
|
||||
#-------------------------
|
||||
XKB_MODEL="pc105"
|
||||
XKB_LAYOUT="fr"
|
||||
XKB_VARIANT="latin9"
|
||||
XKB_OPTIONS=""
|
||||
#------------------------
|
||||
#--- Network Settings ---
|
||||
#------------------------
|
||||
ENABLE_IPV6=true
|
||||
ENABLE_WIRELESS=false
|
||||
ENABLE_IPTABLES=false
|
||||
ENABLE_IFNAMES=true
|
||||
ENABLE_HARDNET=true
|
||||
ENABLE_ETH_DHCP=true
|
||||
ENABLE_WIFI_DHCP=false
|
||||
#NET_WIFI_SSID=MobileClimatEtMeteo
|
||||
#NET_WIFI_PSK=ClimatEtMeteo
|
||||
#---------------------
|
||||
#--- Basic features---
|
||||
#---------------------
|
||||
ENABLE_CONSOLE=false
|
||||
ENABLE_BLUETOOTH=false
|
||||
ENABLE_I2C=false
|
||||
ENABLE_SPI=false
|
||||
ENABLE_SSHD=true
|
||||
SSH_ENABLE=true
|
||||
ENABLE_NONFREE=true
|
||||
ENABLE_RSYSLOG=true
|
||||
ENABLE_SOUND=true
|
||||
ENABLE_HWRANDOM=true
|
||||
ENABLE_MINGPU=true
|
||||
ENABLE_DBUS=true
|
||||
ENABLE_XORG=false
|
||||
ENABLE_WM=""
|
||||
ENABLE_SYSVINIT=true
|
||||
ENABLE_SPLASH=true
|
||||
ENABLE_LOGO=true
|
||||
#--------------------------------
|
||||
#--- Advanced System features ---
|
||||
#--------------------------------
|
||||
ENABLE_DPHYSSWAP=false
|
||||
ENABLE_QEMU=false
|
||||
ENABLE_MINBASE=false
|
||||
ENABLE_REDUCE=false
|
||||
ENABLE_SPLITFS=false
|
||||
ENABLE_INITRAMFS=true
|
||||
ENABLE_DBUS=true
|
||||
ENABLE_USBBOOT=false
|
||||
ENABLE_UBOOT=false
|
||||
ENABLE_FBTURBO=false
|
||||
ENABLE_VIDEOCORE=false
|
||||
ENABLE_HARDNET=true
|
||||
ENABLE_IFNAMES=true
|
||||
ENABLE_NEXMON=false
|
||||
#DISABLE_UNDERVOLT_WARNINGS=
|
||||
#--------------------
|
||||
#--- ssh settings ---
|
||||
#--------------------
|
||||
SSH_ENABLE_ROOT=false
|
||||
SSH_LIMIT_USERS=false
|
||||
SSH_ROOT_PUB_KEY="/home/vidal/.ssh/authorized_keys"
|
||||
SSH_USER_PUB_KEY="/home/vidal/.ssh/authorized_keys"
|
||||
#-----------------------
|
||||
#--- Kernel settings ---
|
||||
#-----------------------
|
||||
BUILD_KERNEL=true
|
||||
KERNEL_BRANCH=rpi-6.12.y
|
||||
KERNEL_REDUCE=false
|
||||
KERNEL_HEADERS=true
|
||||
KERNEL_REMOVESRC=true
|
||||
KERNELSRC_CLEAN=true
|
||||
KERNELSRC_CONFIG=true
|
||||
KERNEL_DEFCONFIG=bcm2709_defconfig
|
||||
KERNEL_BIN_IMAGE=zImage
|
||||
KERNEL_IMAGE=kernel7.img
|
||||
KERNEL_CCACHE=true
|
||||
NB_CORES=16
|
||||
#------------------------
|
||||
#--- Reduce disk usage --
|
||||
#------------------------
|
||||
REDUCE_APT=false
|
||||
REDUCE_DOC=true
|
||||
REDUCE_MAN=true
|
||||
REDUCE_HWDB=false
|
||||
REDUCE_BASH=false
|
||||
REDUCE_SSHD=false
|
||||
REDUCE_LOCALE=false
|
||||
#-------------------------
|
||||
ENABLE_CRYPTFS=false
|
||||
#-------------------------
|
||||
BASEDIR=/home/vidal/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE}
|
||||
#BASEDIR=/media/*******/*********/Nano-Ordinateurs/RaspberryPi/RpiGenImage/Images/${RELEASE}
|
||||
DATE=`date +%Y-%m-%d`
|
||||
IMAGE_NAME=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user