Hi all,
I'm proposing to add a linux-run-hooks command to the linux-base package
[1] that will then be used in all maintainer scripts of linux-image
packages [2]. This requires upgrading the current Depends on linux-base
to Pre-Depends.
Le Sat, May 03, 2025 at 04:08:55PM +0200, Ben Hutchings a écrit :
Hi all,
I'm proposing to add a linux-run-hooks command to the linux-base package [1] that will then be used in all maintainer scripts of linux-image packages [2]. This requires upgrading the current Depends on linux-base
to Pre-Depends.
Will that not require a versionned Pre-Depends ?
In that case this is very likely to break upgrade paths.
Le Sat, May 03, 2025 at 04:08:55PM +0200, Ben Hutchings a écrit :
I'm proposing to add a linux-run-hooks command to the linux-base package
[1] that will then be used in all maintainer scripts of linux-image
packages [2]. This requires upgrading the current Depends on linux-base
to Pre-Depends.
Will that not require a versionned Pre-Depends ?
In that case this is very likely to break upgrade paths.
I'm proposing to add a linux-run-hooks command to the linux-base package
[1] that will then be used in all maintainer scripts of linux-image
packages [2]. This requires upgrading the current Depends on linux-base
to Pre-Depends.
Both packages are under kernel team maintenance, and linux-base has
minimal dependencies (debconf | debconf-2.0). So I don't anticipate
this causing any problems with upgrades.
Judging from the code, you are aware that presence of linux-base is not
a given during postrm. In the absence of linux-base, hook execution is skipped with a message rather than having things fail. Arguably, uninstalling linux-base is an unusual thing to do.
Can you give some
argument why that skipping of postrm hooks (that didn't happen earlier)
is a good compromise?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 162:18:57 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,501 |