Commit Graph

109 Commits

Author SHA1 Message Date
Thomas Lamprecht
901b5c1c05 bump version to 7.2-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-27 19:09:20 +02:00
Stoiko Ivanov
bcd5fb47f0 rename pve-efiboot-manual-kernels to proxmox-boot-manual-kernels
was forgotten during the general renaming of pve-efiboot ->
proxmox-boot.

follows commit 8c0a22adfe

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2022-04-27 19:06:41 +02:00
Thomas Lamprecht
814105cf85 d/copyright: update years
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-22 12:15:57 +02:00
Thomas Lamprecht
15852208e7 bump version to 7.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-22 11:39:26 +02:00
Thomas Lamprecht
a64976e8a4 bump version to 7.1-14
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-29 15:48:44 +02:00
Thomas Lamprecht
d06347366a bump version to 7.1-13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-12 15:39:52 +01:00
Stoiko Ivanov
d5a182ad1d proxmox-boot: add --next-boot option kernel pin command
by setting the desired version in a dedicated file, which is used
by the systemd service as condition for removing it and refreshing
upon reboot.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Tested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-22 13:31:31 +01:00
Thomas Lamprecht
b9e1485fb2 bump version to 7.1-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-14 15:13:10 +01:00
Thomas Lamprecht
e469f27245 helpers postinst: fixup initrd onetime after update
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-14 15:08:28 +01:00
Thomas Lamprecht
83bd8320e2 initrd modules: use simplefb
while it's the legacy variant it actually works over simpledrm with
amdgpu (glitches) and nvidia (complete breakage)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-14 15:07:27 +01:00
Thomas Lamprecht
ea2015da4b bump version to 7.1-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-11 16:30:00 +01:00
Thomas Lamprecht
3b82e1ebb5 ship config to always include simpledrm module in initrd
to ensure the newly switched on SYS_FB kconfig doesn't breaks the
using the fb for the kernel, e.g., via fbcon

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-11 16:29:32 +01:00
Thomas Lamprecht
d271989611 bump version to 7.1-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-04 06:58:28 +01:00
Thomas Lamprecht
47893302de bump version to 7.1-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-31 12:10:07 +01:00
Thomas Lamprecht
b259c23329 bump version to 7.1-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-11 13:45:52 +01:00
Thomas Lamprecht
e1e7cf5f1e bump version to 7.1-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-14 21:29:03 +01:00
Stoiko Ivanov
9af7953afa fix #3781: add Provides: wireguard-modules to control.in
without this line `apt install wireguard` pulls in Debian's kernel +
firmware which confilcts with pve-firmware - forcing users to install
via `apt install --no-install-recommends wireguard-tools` in order to
get the userspace utils.

Plain debian has the 'Provides' in the meta-package[0]
(linux-image-amd64), so following this add it to pve-kernel-$MAJ.$MIN

versioned dependency added since wireguard has a versioned dependency
on wireguard-modules.

[0] https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/templates/control.image.meta.in

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-12-14 13:29:03 +01:00
Stoiko Ivanov
c45ff47200 d/control.in: Provide linux-image/linux-headers
pve-kernel-$MAJ.$MIN (e.g. pve-kernel-5.15) is the equivalent
to linux-image-amd64 for plain debian systems (similarly
pve-headers-$MAJ.$MIN).

Providing the plain debian meta-packages should improve the user
experience, for example when users install DKMS packages, which have a
dependency on linux-headers-amd64.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-12-14 13:29:00 +01:00
Thomas Lamprecht
3402b9bd83 bump version to 7.1-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-30 16:49:10 +01:00
Thomas Lamprecht
486894ae01 bump version to 7.1-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-30 13:30:39 +01:00
Thomas Lamprecht
3004f01932 bump version to 7.1-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-06 15:17:00 +01:00
Thomas Lamprecht
20983dfb40 bump version to 7.1-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-19 13:44:20 +02:00
Thomas Lamprecht
dea93e0142 bump version to 7.1-2
only for helper/tool package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-01 09:15:58 +02:00
Thomas Lamprecht
221e6a67b1 bump version to 7.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 06:44:35 +02:00
Thomas Lamprecht
505310288e bump version to 7.0-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-08-27 11:55:36 +02:00
Thomas Lamprecht
354e6f61a2 bump version to 7.0-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-21 19:38:44 +02:00
Thomas Lamprecht
40da6d6368 bump version to 7.0-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-12 10:32:57 +02:00
Thomas Lamprecht
bbb0debfa8 bump version to 7.0-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-08 10:10:26 +02:00
Stoiko Ivanov
3a982230c1 proxmox-boot: maintscript: change logic whether to add diversion
Deciding whether or not to add the diversion based on the version
alone fails quite hard in case pve-kernel-helper is in dpkg-state 'rc'
(removed not purged) as reported in our community forum[0]:
* removing pve-kernel-helper removes the diversion of grub-install
* if config-files are still present the preinst script gets called
  with the version of the config-files (the version that got removed)
* if the version was newer than 6.4-1~ then no diversion is added
* unpacking fails, because grub-install would be overwritten leaving
  pve-kernel-helper in state 'ic'

Explicitly checking whether the diversion is in place sounds like a
robust approach here.

downside: documentation on dpkg-divert in maintainer scripts [1] uses
the version approach.

[0] https://forum.proxmox.com/threads/pve-kernel-helper-wont-install.90029/
[1] https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-07-08 08:44:35 +02:00
Thomas Lamprecht
c30ef277d6 bump version to 7.0-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 10:58:57 +02:00
Thomas Lamprecht
75824f97af bump version to 7.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-01 17:23:45 +02:00
Thomas Lamprecht
9a6ae0cb5e d/control: bump debhelper compat to >= 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 17:28:38 +02:00
Thomas Lamprecht
7f1b85c252 bump version to 7.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 17:27:30 +02:00
Thomas Lamprecht
2c4fc8f324 d/preinst: fix file diversion for package upgrade
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-23 13:28:56 +02:00
Thomas Lamprecht
9485516b69 d/postrm: use correct version for check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-23 13:28:56 +02:00
Thomas Lamprecht
8b15a09710 d/maintscripts: we will use 6.4-1 as next version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-23 13:28:56 +02:00
Stoiko Ivanov
7290506104 proxmox-boot: add grub-install wrapper
if a (legacy) system is booted with proxmox-boot-tool, running
`grub-install` without being aware of the fact can render the system
unbootable (e.g. when letting the early stage point to an incompatible
zpool instead of the ESP).

To prevent this we add a dpkg-diversion [0], which simply checks if
`proxmox-boot-tool status` indicates that proxmox-boot is used and
errors out in that case, and runs the actual grub-install else.

Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-04-23 13:28:56 +02:00
Stoiko Ivanov
ff28956d40 proxmox-boot: add grub.cfg header snippet
If the system seems to be booted using proxmox-boot, write a header at
the beginning of the grub.cfg generated when running `update-grub`

Additionally print a warning in case the script is run interactively.
This is determined by checking for DPKG_VERSION, which is set when
running as post-inst task (after a kernel install/removal)
and for PVE_EFIBOOT_UNSHARED, which is set by proxmox-boot-tool when
running `proxmox-boot-tool refresh.`

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-04-23 13:28:56 +02:00
Stoiko Ivanov
8c0a22adfe proxmox-boot: rename uuid list file
in order to be consistent with the renaming of pve-efiboot-tool to
proxmox-boot-tool.

Sending as separate patch, since it changes and removes a file in
'/etc', which could be considered part of the external 'api' of
proxmox-boot-tool

Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-04-23 13:28:56 +02:00
Stoiko Ivanov
b3c980626d proxmox-boot-tool: rename from pve-efiboot-tool
We will be using the mechanics also for ZFS systems booting with BIOS
legacy boot, and the tool is used also in PMG and PBS.

A symlink is kept in place for compatibility reasons

The hook scripts are marked as conffiles (as all files in /etc) and
are handled by dpkg-maintscript-helper(1) via dh_installdeb(1)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-04-23 13:28:56 +02:00
Thomas Lamprecht
f41600a3a6 bump version to 7.0-0+4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-09 11:07:51 +02:00
Thomas Lamprecht
96257df1e3 bump version to 7.0-0+3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-18 19:22:55 +01:00
Thomas Lamprecht
825caa0f5d bump version to 7.0-0+2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-18 16:08:33 +01:00
Thomas Lamprecht
659521a666 bump version to 7.0-0+1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 16:20:54 +01:00
Thomas Lamprecht
63e0aae7f4 bump version to 6.3-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 14:16:42 +01:00
Thomas Lamprecht
833938ddac bump version to 6.3-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-15 18:21:35 +01:00
Thomas Lamprecht
03c04fd36b bump version to 6.3-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-15 17:23:15 +01:00
Thomas Lamprecht
60956e9ab2 bump version to 6.3-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-28 16:00:24 +01:00
Thomas Lamprecht
5ab2d06ce3 bump version to 6.3-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-03 15:11:28 +01:00
Thomas Lamprecht
30645aaef0 bump version to 6.3-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-30 12:05:36 +01:00