Last edited 9 months ago

WestonLaunch

1. Usage[edit source]

The WestonLaunch template is used to insert a message about the current status of the article or chapter containing it.

Usage: {{WestonLaunch| <your specific command>}}

Where <your specific command> is the optional free text containing the command specific to the page in which template is used. If this parameter is not set, the extra command line is not displayed.

The returned value is:

  • a generic or custom message depending on the parameters

2. Basic examples[edit source]

You type You get
Generic and Specific message
{{WestonLaunch|here is the command}}
No Generic message
{{WestonLaunch}}

3. More examples[edit source]

You type You get
Check that there's no space before and after the text
BEFORE{{WestonLaunch|here is the command}}AFTER<br>

BEFOREAFTER

4. Code[edit source]

{{Warning | If Weston is configured with a "weston" user instead of a "root" user, please use the following commands:
 {{Board$}} su -l "weston" -c "your_great_weston_command"
 {{#if: {{{1|}}} | {{Board$}} su -l "weston" -c "{{{1}}}" }}
'''Note''': Above tips may not be necessary on Yocto Project<sup>®</sup> versions greater than or equal to 4.2 ("Mickledore").
}}
No categories assignedEdit