TestPage: Difference between revisions
From Variscite Wiki
No edit summary |
Tag: Undo |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | --> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | ||
--> {{#if: {{#var:RELEASE_PARAM}} | | {{#vardefine:RELEASE_PARAM|RELEASE_MORTY_V1.0_DART-6UL}} }} <!-- | --> {{#if: {{#var:RELEASE_PARAM}} | | {{#vardefine:RELEASE_PARAM|RELEASE_MORTY_V1.0_DART-6UL}} }} <!-- | ||
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM | --> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | ||
--> {{#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> | |||
}} | |||
}} | |||
Line 10: | Line 29: | ||
BSP version: {{#varexists:B2QT_BSP_VERSION | {{#var:B2QT_BRANCH}} | {{#var:YOCTO_BRANCH}} }} | BSP version: {{#varexists:B2QT_BSP_VERSION | {{#var:B2QT_BRANCH}} | {{#var:YOCTO_BRANCH}} }} | ||
Category1: {{#var:category1}} | |||
Category2: {{#var:category2}} |
Latest revision as of 11:08, 23 November 2021
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: