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
runitis provided by BusyBox:$ grep Runit package/busybox/busybox.config # Runit Utilities
BusyBox
runitwas 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 BusyBoxrunitin 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 --forcewill delete the Nova U-Boot patch and any other files that we added to Buildroot in previous exercises. - Create a new branch named
busybox-runitto capture your work:$ git checkout -b busybox-runit
- Add BusyBox
runitto a default configuration for the Raspberry Pi 4:$ cd configs $ cp raspberrypi4_64_defconfig rpi4_runit_defconfig...