Conversation
|
Is this meant as a hint when something goes wrong? You do will fix this in the BSP, too? |
ymoog
left a comment
There was a problem hiding this comment.
I don't understand the point of this addition.
Either our BSP does everything as described here, then we don't need the hint.
Or our BSP does not do this. Then we either change the doc or fix the BSP.
Where do you see value/justification in this addition?
|
In the previous BSP's NXP was editing the logind.conf directly via a patch. Now they deploy a seperate config file. The new way they do it seems to be the "upstream Yocto way", as this is the way how poky does it with |
I am positive that the BSP doc section you are referring to instructs to change the file at runtime, i.e. boot the system, edit the /etc/systemd/logind.conf file, save it. This has not changed.
If I understood you correctly, we can take NXP version of the file, add our own flavour and save it in our meta layer. |
f1a36f9 to
9611f0a
Compare
ba64a36 to
c6d8846
Compare
Generalize the power-key chapter and move to imx-common. For head manuals a different path needs to be adjusted now, as NXP sets the HandlePowerKey=ignore not in the logind.conf itself anymore, but a config snipped for the logind.conf. Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
c6d8846 to
8aeab0c
Compare
|
rebase to main. imx91-93 pd26.1.0 manual was added |
Append the powerkey chapter, with a check that the powerkey setting in systemd logind.conf is not overwritten by other configs. With the Yocto walnascar, the HandlePowerKey is deactivated by NXP in a seperate config which will overwrite the logind.conf. With that command the NXP config is shown.