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
Information |
This template is not necessary anymore in recent Yocto version (DV > 4). Nevertheless, we prefer keeping it because we have seen in the past that it could be necessary to re-use this template in future Yocto version... |
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]
Information |
Here below the older template source code that is not necessary anymore in recent Yocto version (DV > 4). |
{{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").
}}