Replies: 3 comments 2 replies
-
|
This is a GREAT idea, and highly aligned with my goals for sdm. The only issue that I see is if someone forgets about the delayed installs and reboots a wee bit too early, potentially interrupting an apt operation at an inopportune time. Hopefully I can coerce systemd to prevent that from happening. But if it does, it would be a one-time thing 😉 Thanks for the suggestion! |
Beta Was this translation helpful? Give feedback.
-
|
Good point about what to do if the deferred installs haven't completed. Maybe you could open a shell window so the user could watch the apt installs run, which would make it easy to decide whether it was a good time for a reboot. If the user reboots too early, maybe that window would open again when they next booted the OS, and tried to resume from wherever it quit last time. |
Beta Was this translation helpful? Give feedback.
-
|
Installing deferred apps will be done by a service that will run at boot. However, it won't run if any of these (not yet named/not yet located files) exists:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The apps plugin will add packages during the customization phase. That adds time: my customization phase now goes on for several minutes. My goal: speed up the customization phase. One idea: an option to defer the apt install of some packages until after the SD card is burned, and encrypted, and boots for real, and successfully connects to the internet. If I never get that far, I haven't wasted any time on apt installs.
apt-cacher-ng helps. Customization would be even slower without it. But wouldn't it be great to divide all the apt updates into two groups: things you need the minute the SD card boots (e.g. btrfs-progs), which happen during customization, and things that can wait (e.g. git).
Using that as an example, I see a syntax something like
--plugin apps:"name=my-stuff|apps=btrfs-progs|defer=git"which means "install btrfs-progs during customization, but don't install git until the burned SD card boots and connects to the internet."Beta Was this translation helpful? Give feedback.
All reactions