TestPage: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
--> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | --> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | ||
--> {{PageHeader|{{#var:HARDWARE_NAME}} test page }} {{DocImage|category1={{#varexists:B2QT_BSP_VERSION | Boot2Qt | Yocto }}|category2={{#var:HARDWARE_NAME}}}}__toc__ | --> {{PageHeader|{{#var:HARDWARE_NAME}} test page }} {{DocImage|category1={{#varexists:B2QT_BSP_VERSION | Boot2Qt | Yocto }}|category2={{#var:HARDWARE_NAME}}}}__toc__ | ||
{{#ifeq: {{#var:RELEASE_LINK}} | RELEASE_ZEUS_V1.0_DART-6UL | | |||
=== Use SysV instead of systemd init === | |||
Apply this [https://github.com/varigit/meta-variscite-imx/commit/209a3615706d472c511e9647c267ded5b314c692 patch] to the meta-variscite-imx layer | |||
| | |||
=== Use systemd instead of SysV init === | |||
{{#ifeq: {{#rpos:{{#var:RELEASE_LINK}}|RELEASE_ZEUS_V1}} | 0 | | |||
Comment out the last 4 lines of file [https://github.com/varigit/meta-variscite-imx/blob/zeus-imx-5.4.3-var01/conf/machine/imx6ul-var-dart.conf#L82-L85 ~/var-fsl-yocto/sources/meta-variscite-imx/conf/machine/imx6ul-var-dart.conf] | |||
| | |||
Append the following to the conf/local.conf file in your Yocto build directory, to use systemd instead of SysV init in your images: | |||
<pre> | |||
DISTRO_FEATURES_append = " systemd" | |||
DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit" | |||
VIRTUAL-RUNTIME_init_manager = "systemd" | |||
VIRTUAL-RUNTIME_initscripts = "" | |||
IMX_DEFAULT_DISTRO_FEATURES_append = " systemd" | |||
</pre> | |||
}} | |||
}} | |||
Revision as of 14:07, 30 November 2020
DART-6UL test page
Use systemd instead of SysV init
Append the following to the conf/local.conf file in your Yocto build directory, to use systemd instead of SysV init in your images:
DISTRO_FEATURES_append = " systemd" DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit" VIRTUAL-RUNTIME_init_manager = "systemd" VIRTUAL-RUNTIME_initscripts = "" IMX_DEFAULT_DISTRO_FEATURES_append = " systemd"
BSP type: YOCTO
BSP version: morty
Category1:
Category2: