Want to see what's in the initrd without installing it?
This will extract it for you.
It also reminds me how to deal with cpio archives, which I can never remember.
| #!/bin/bash | |
| # {En,De}crypt the private/ directory | |
| # WARNING: I haven't used this script in a long time | |
| # I'm putting it here because I found it on my hard drive from ages ago | |
| # yolo I guess | |
| # The private/ directory should not be stored in version control | |
| # Instead, this scripts creates a private.tar.encrypted.asc file | |
| # out of the private/ directory, |
🚨🚨🚨 I don't recommend this 🚨🚨🚨
I'm keeping it here so I can remember what I did, but I think a Docker container is a better way to go about it. I wrote a Dockerfile for this over here: https://github.com/mrled/alpine-rpi4-aports-docker
Scripts for building an Alpine chroot for building Alpine packages.
A quick script to control lkbm firmware on the Ploopy Nano.
See this post for more features and more explanation.