preseed: bring the readable vdi-post.sh copy back in line with what runs
15d6518 rewrote the late_command payload (inline pkcon sequence -> delegation to
/usr/local/sbin/vdi-offline-update, plus enabling vdi-offline-update.timer) but
left the readable comment copy of the same script ~100 lines above it unchanged.
The two are meant to be the same script, so anyone reading preseed.cfg to learn
what a Debian install does was reading something that no longer matched the
payload. Caught by 8cc5's validator, which compares them byte-for-byte.
No behaviour change: the runtime payload was already correct. Also fixes a stale
comment - packagekit-tools was described as being used by /root/auto_update.sh,
which now delegates; the helper is what calls pkcon, and packagekit-tools is
still required for it.
Verified independently by running the reassembled late_command against a fake
/target: the generated script is 70 lines, parses, delegates, contains no inline
pkcon sequence, enables the timer, and is byte-identical to the comment copy.
Also tightens the README's claim about other updaters: unattended-upgrades is
absent, and apt.systemd.daily gates every install step on 'command -v
unattended-upgrade', so apt-daily-upgrade only refreshes the index. Checked
rather than asserted.
This commit is contained in:
1 parent
96815c5ffb
commit
e9a447da4d
2 files changed
+23
-10
No files matched your search
@@ -229,8 +229,15 @@ updates from the first boot.
|
||||
Debian's usual answer for automatic updates is `unattended-upgrades`, and it is
|
||||
the wrong instrument here: it *installs* security updates silently while the user
|
||||
is working, which is the thing the offline-update flow exists to avoid, and it
|
||||
does not give a desktop user a no-password update button. It is left uninstalled.
|
||||
`pkgsel/update-policy` is set to `none` in the preseed for the same reason.
|
||||
does not give a desktop user a no-password update button. It is left uninstalled,
|
||||
and `pkgsel/update-policy` is `none` in the preseed so the installer does not pull
|
||||
it in.
|
||||
|
||||
Debian still ships `apt-daily.timer` and `apt-daily-upgrade.timer`, which run
|
||||
regardless. They are not a second updater in practice: `/usr/lib/apt/apt.systemd.daily`
|
||||
gates every install step on `command -v unattended-upgrade`, so with that package
|
||||
absent the timer refreshes the package index and stops. Verified on trixie - the
|
||||
only effect is a cache refresh, not a silent upgrade.
|
||||
|
||||
## Building an install ISO
|
||||
|
||||
|
||||
Reference in new issue
Block a user