Options - dervishe-/GenBerry GitHub Wiki
Short options
| Option |
Argument |
Values |
Description |
| -h |
|
|
Display the help message describing the options |
| -d |
device |
/dev/mmcblk0 |
Device to use for install. |
| -b |
board |
0, 0W, 1, 2, 3, 3P, 4 |
Type of the board: 0 (Pi0), 0W (Pi0W), 1 (Pi1), 2 (Pi2), 3 (Pi3), 3P (Pi3B+), 4 (4B) |
| -M |
size |
32, 64 |
Architecture 32 or 64 bits. This apply only on rPi 3, 3P and 4 |
| -B |
branch |
rpi-X.XX.y |
Install a specific kernel branch (from rPi kernel github repository). |
| -c |
file |
/path/to/cfg |
Use your own kernel config file. |
| -k |
lang |
fr |
Lang for the keymaps. |
| -H |
hostname |
gibolin |
Fix the hostname. |
| -t |
timezone |
Europe/Paris |
Fix the timezone. |
| -f |
filesystem |
f2fs, ext4 |
Filesystem for the root partition. |
| -C |
file |
/path/to/cfg |
Use your own config.txt file. |
| -F |
file |
/path/to/cfg |
Use your own fstab file. You are concerned only if you have chosen the --build-tarball option. |
| -w |
file |
/path/to/cfg |
Use your own wpa_supplicant.conf file |
| -m |
dir |
/tmp/bldGenPiImg-XXXXXXXXXX |
Set the working directory. |
| -T |
Template |
pidp11, pidp8i |
Specify a template to build a specific image. |
| -u |
username |
As define in man useradd |
Create a user on the pi. His default groups are defined in the config file and you will be asked for a password during the install. |
(Defaults value in the table above are highlighted)
Long options
| Option |
Description |
| --help |
Display the help message and the options list. |
| --add-kernel-src |
Copy the kernel sources on the card, Beware that this will run make distclean on the actual sources. |
| --no-portage |
Don't install the portage tree. |
| --build-image |
Build an image to burn on the media. |
| --build-tarball |
Build a tarball to expand on a pre-formated media. If you don't provide an fstab file via the -F option. You will need to install it after and tune your /boot/cmdline.txt. |
| --enable-serial |
Enable serial communications. Might disable bluetooth on some boards. |
| --enable-usb-tether |
Enable usb tethering. Might need some tweak on your computer. Actually only tested on Pi 0 and 0W. |
| --enable-sshd |
Enable sshd server with root connections allowed. If ssh-add -L give a record it will be use for the connection, else use the password. |
| --set-root-pw |
Choose your root password. You will be asked to type it. The characters won't appear when you will type. The password is not stored in clear. It will directly be used to generate the hash. |
| --use-qemu |
Use qemu to compile packages on host. Replace the use of the firstRun script. |