-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scripts/mkimage: Add run mode, remember default selection, resize gpt… #738
Conversation
If it works then I'm happy 👍 |
@@ -585,6 +591,7 @@ | |||
mount_part "$boot" "/flash" "ro,noatime" | |||
} | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra space needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, force pushed.
I'm not sure I see the point of having separate live/portable options when you could have a single mode with persistence on /storage. We're not Ubuntu where people want the USB for emergency maintenance tasks. Why would anyone want to boot LE without persistence? |
I don't know, why was it ever provided in the first place if nobody wanted it? |
If you're saying we should remove the live mode, then we can do that, although I don't see it as a huge overhead and it's an alternative mode for those who (presumably) find it useful. Given the "stickiness" of the prompt with this change, it shouldn't even be an issue once the user has selected "run" the first time. |
That's the issue. Extra choice at 1st run is nice for developers who understand the choices. Extra choice for a noob means they pick the wrong option 50% of the time and must reinstall to get persistent storage. If nobody can clearly articulate why the non-persistent mode exists or what advantages it brings we should remove the opportunity for confusion. |
Live mode is still good use to very quickly test if whole system works (kodi loaded, gpu supported, network works). Confirmed today on IRC. So I see no real reason why remove it. Maybe only removing it from the message to a user and leave only installer/run. |
I've used If we drop Personally, though, I don't see the problem with keeping However this PR is about adding the |
go to go? |
I would say yes. |
… partitions
This has been discussed previously (#582).
The
run
mode will persist storage across boots, and can be useful as a "portable" solution, or when thelive
mode (which doesn't persist any storage) is not enough but users still don't want a full/permanent installation.The last selected option (
installer
,live
,run
) will be remembered, simplifying subsequent boots (particularly without a keyboard) - ie. if you boot once intorun
mode, next time you boot the default boot will berun
etc. There will still be a 5 second prompt for every boot.Resizing of gpt partitions is now fixed, and they should be resized correctly. The first time
run
is selected it will resize the/storage
partition on the USB drive.