Posts in English (3)

Raspberry Pi - Script to create initramfs for early splash screen

If you want to create a inital ram filesystem to inject an early splashscreen, you can use this script to automatically create one. If errors occur it will likely be missing libraries or tools to compile fbv. #!/bin/bashSRC_PATH=/path/to/my/splashIMG=mysplash.pngif [[ $EUID -ne 0 ]]; then echo…

By Holger Pandel

Debug your bash script line by line

Everyone who writes bash scripts knows the problem, that debugging can be a hard task. To make it a lot easier, add the following lines to your script at the top: #!/bin/bashset -xtrap "read -u1" DEBUGThe first line tells bash to show every line and…

By Holger Pandel

Generate keys for Debian package signing

To generate keys for signing Debian packages, use the following commands. Generate key pair: gpg --full-generate-key(Enter valid mail address and a secure passphrase) List generated keys with id: gpg --list-secret-keys --keyid-format LONGExport public key part: gpg --armor --export <mail address> > export_name.gpg.keyAll necessary files are…

By Holger Pandel