Getting BusyBox runit
To prepare the system for this chapter, we need to do the following:
- Navigate to the directory where you cloned Buildroot for Chapter 6, Selecting a Build System:
$ cd buildroot
- Check to see if
runit
is provided by BusyBox:$ grep Runit package/busybox/busybox.config # Runit Utilities
BusyBox
runit
was still an available option in the Buildroot 2020.02.9 LTS release at the time of writing. Revert to that tag if you can no longer find BusyBoxrunit
in a later release. - Undo any changes and delete any untracked files or directories:
$ make clean $ git checkout . $ git clean –-force -d
Note that
git clean --force
will delete the Nova U-Boot patch and any other files that we added to Buildroot in previous exercises. - Create a new branch named
busybox-runit
to capture your work:$ git checkout -b busybox-runit
- Add BusyBox
runit
to a default configuration for the Raspberry Pi 4:$ cd configs $ cp raspberrypi4_64_defconfig rpi4_runit_defconfig...