Skip to content

Disabling auto-login on RaspiOSLite #29

Answered by gitbls
eranroll asked this question in Q&A
Discussion options

You must be logged in to vote

cmdline.txt is modified in sdm-cmdsubs as part of completing the burn command. It a) removes the resize if --expand-root was specified (do it at burn time rather than during the first boot), and b) changes the diskid, in the same scenario. Both of these are functions done during the first boot of the system in a "vanilla" (non-sdm updated) system.

Beyond that, there is no other code in sdm that modifies cmdline.txt. You can verify by: grep cmdline.txt /usr/local/sdm/*

If you want to update cmdline.txt, you can do that in your Custom Phase script using sed. The prudent way to formulate these sed commands is to do it interactively on a copy of cmdline.txt.

  • Remove something from cmdline.txt:

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eranroll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants