@@ -1,6 +1,6 | |||
|
1 | 1 | # rpi23-gen-image |
|
2 | 2 | ## Introduction |
|
3 | `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` and `stretch`. This fork enables also `buster` release. 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```). | |
|
3 | `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` and `stretch`. This fork enables also `buster` release. 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 raspife3-buster-arm64```). | |
|
4 | 4 | |
|
5 | 5 | ## Build dependencies |
|
6 | 6 | 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. |
@@ -212,13 +212,14 CHROOT_SCRIPTS=${CHROOT_SCRIPTS:=""} | |||
|
212 | 212 | |
|
213 | 213 | # Packages required in the chroot build environment |
|
214 | 214 | APT_INCLUDES=${APT_INCLUDES:=""} |
|
215 | # apt-transport-https has been removed from repositories | |
|
215 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils" | |
|
216 | ||
|
217 | # Package apt-transport-https has been removed from Debian Buster release | |
|
216 | 218 | # this induces qemu error 383 which does not prevent building an image |
|
217 | 219 | if [ "$RELEASE" = "buster" ] ; then |
|
218 | APT_INCLUDES="${APT_INCLUDES},apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils" | |
|
219 | else | |
|
220 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils" | |
|
220 | APT_INCLUDES="$(echo ${APT_INCLUDES} | sed "s/apt-transport-https,//")" | |
|
221 | 221 | fi |
|
222 | ||
|
222 | 223 | # Packages required for bootstrapping |
|
223 | 224 | REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo" |
|
224 | 225 | MISSING_PACKAGES="" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant