[FIX] point_of_sale: Fix package to be able to upgrade iot kernel in debian bookworm
Installations from the current Debian Bookworm (12.0) on amd64 systems are experiencing problem that prevents the kernel from being upgraded (e.g. when trying to upgrade to kernel linux-image-6.1.0-10-amd64) closes odoo/odoo#141588 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
+4
-4
@@ -1,5 +1,5 @@
|
||||
--- v4l2_old.py 2019-01-23 12:49:01.081564000 +0100
|
||||
+++ v4l2_new.py 2019-01-23 12:50:32.369730171 +0100
|
||||
--- v4l2.py 2023-11-07 20:27:44.919031118 +0000
|
||||
+++ v4l2.py.old 2023-11-07 20:26:24.910749659 +0000
|
||||
@@ -194,7 +194,7 @@
|
||||
V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,
|
||||
V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY,
|
||||
@@ -7,9 +7,9 @@
|
||||
-) = range(1, 9) + [0x80]
|
||||
+) = list(range(1, 9)) + [0x80]
|
||||
|
||||
|
||||
v4l2_ctrl_type = enum
|
||||
@@ -245,7 +245,7 @@
|
||||
(
|
||||
@@ -244,7 +244,7 @@
|
||||
V4L2_PRIORITY_INTERACTIVE,
|
||||
V4L2_PRIORITY_RECORD,
|
||||
V4L2_PRIORITY_DEFAULT,
|
||||
@@ -21,6 +21,10 @@ source ~/.bashrc
|
||||
|
||||
# upgrade firmware-brcm80211 broke access point on rpi4
|
||||
apt-mark hold firmware-brcm80211
|
||||
# Installations from the current Debian Bookworm (12.0) on amd64 systems are experiencing the problem that prevents
|
||||
# the kernel from being upgraded (e.g. when trying to upgrade to kernel linux-image-6.1.0-10-amd64)
|
||||
rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
|
||||
apt purge raspi-firmware
|
||||
apt-get update && apt-get -y upgrade
|
||||
# Do not be too fast to upgrade to more recent firmware and kernel than 4.38
|
||||
# Firmware 4.44 seems to prevent the LED mechanism from working
|
||||
|
||||
Reference in New Issue
Block a user