posts: Update the building BSP post

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-01-30 14:35:37 +05:30
parent 6efeee0863
commit f45ea895ba
1 changed files with 10 additions and 2 deletions

View File

@ -141,8 +141,16 @@ do_install() {
}
```
Yocto by default uses sysvinit, however, I wanted systemd as init. Adding the
below to local.conf will make systemd as init system.
```bash
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
```
It has been a lot fun learning how to put together a board support package and
Yocto has given so much flexibility.