aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-22 16:09:23 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-22 16:09:23 +0200
commitfe7e74d567537d39020c22fad573b77aed2aa017 (patch)
tree8275137e874563eac691498ad5e7d9ede14d03d8 /.vimrc
parenteb147aa3c7f3bbbd3fba3f256d3366253d5b627f (diff)
downloaddotfiles-fe7e74d567537d39020c22fad573b77aed2aa017.tar.gz
dotfiles-fe7e74d567537d39020c22fad573b77aed2aa017.zip
bin: Force a busybox path when running QEMU
When running QEMU/RISC-V, force the user to provide the `BUSYBOX_SRC` environment variable. This variable points to the path where busybox has been built. This way the path to the initramfs is not hardcoded. Moreover, this allows us to rebuilt the initramfs every time the `run-riscv-qemu.sh` is called, which in turn brings some consistency to the process. Plus, this opens the door for allowing files to be passed into a new `/home` directory for the current user. This way, someone can just statically compile a binary via cross compilation, and then run it in isolation with QEMU/RISC-V. Last but not least, also update the .bashrc file with a value for `BUSYBOX_SRC` on my system. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.vimrc')
0 files changed, 0 insertions, 0 deletions