[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034618: marked as done (unblock: u-boot-menu/4.2.2)



Your message dated Fri, 21 Apr 2023 18:46:22 +0000
with message-id <E1ppvm2-008AWh-3M@respighi.debian.org>
and subject line unblock u-boot-menu
has caused the Debian Bug report #1034618,
regarding unblock: u-boot-menu/4.2.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1034618: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034618
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: u-boot-menu@packages.debian.org, vagrant@debian.org
Control: affects -1 + src:u-boot-menu

Please unblock package u-boot-menu

Recent versions of u-boot (2023.04+ from debian experimental) fixed bugs
which reveal a misconfiguration in u-boot-menu's hard-coded default
value for the "prompt" setting that cause the menu to not be displayed.

[ Reason ]

Depending on the version of u-boot used, the menu that u-boot-menu
generates will not display a boot menu, proceeding with the default boot
option without opportunity to select a boot option. The main purpose of
u-boot-menu is to provide a menu, so this is suboptimal!

[ Impact ]

The changes implement the possibility to override the default behavior
by making a hard-coded value configurable.

[ Tests ]

I have tested that this works correctly with u-boot from experimental
(2023.04) on pinebook pro, with both the default behavior as well as the
modified configuration. The u-boot from bookworm (2023.01) on the
pinebook pro behavior is unchanged, regardless of the configuration
(e.g. it always displays a menu).

[ Risks ]

Risks are very low; the defaults behave identically to previous
versions. The changes are small and hopefully straightforward.

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

[ Other info ]

It would be ideal to switch the default behavior, but given how late in
the bookworm release cycle and not many platforms have been tested to be
working correctly, it seems safer to keep the default behavior, and just
make it possible to configure if needed.


unblock u-boot-menu/4.2.2


Thanks!

live well,
  vagrant

diff -Nru u-boot-menu-4.2.1/debian/changelog u-boot-menu-4.2.2/debian/changelog
--- u-boot-menu-4.2.1/debian/changelog	2022-12-12 13:26:47.000000000 -0800
+++ u-boot-menu-4.2.2/debian/changelog	2023-04-08 16:12:34.000000000 -0700
@@ -1,3 +1,10 @@
+u-boot-menu (4.2.2) unstable; urgency=medium
+
+  [ Diederik de Haas ]
+  * u-boot-update: Make 'prompt' configurable (Closes: #1034071)
+
+ -- Vagrant Cascadian <vagrant@debian.org>  Sat, 08 Apr 2023 16:12:34 -0700
+
 u-boot-menu (4.2.1) unstable; urgency=medium
 
   * Revert "add kalsrseed support" (Closes: #1025954)
diff -Nru u-boot-menu-4.2.1/default u-boot-menu-4.2.2/default
--- u-boot-menu-4.2.1/default	2022-12-07 10:38:40.000000000 -0800
+++ u-boot-menu-4.2.2/default	2023-04-08 15:37:49.000000000 -0700
@@ -4,6 +4,7 @@
 
 #U_BOOT_ALTERNATIVES="default recovery"
 #U_BOOT_DEFAULT="l0"
+#U_BOOT_PROMPT="0"
 #U_BOOT_ENTRIES="all"
 #U_BOOT_MENU_LABEL="Debian GNU/Linux"
 #U_BOOT_PARAMETERS="ro quiet"
diff -Nru u-boot-menu-4.2.1/u-boot-update u-boot-menu-4.2.2/u-boot-update
--- u-boot-menu-4.2.1/u-boot-update	2022-12-12 13:23:18.000000000 -0800
+++ u-boot-menu-4.2.2/u-boot-update	2023-04-08 15:37:49.000000000 -0700
@@ -96,6 +96,7 @@
 
 U_BOOT_ALTERNATIVES="${U_BOOT_ALTERNATIVES:-default recovery}"
 U_BOOT_DEFAULT="${U_BOOT_DEFAULT:-l0}"
+U_BOOT_PROMPT="${U_BOOT_PROMPT:-0}"
 U_BOOT_ENTRIES="${U_BOOT_ENTRIES:-all}"
 U_BOOT_TIMEOUT="${U_BOOT_TIMEOUT:-50}"
 U_BOOT_MENU_LABEL="${U_BOOT_MENU_LABEL:-${PRETTY_NAME:-Debian GNU/Linux kernel}}"
@@ -162,7 +163,7 @@
 
 default ${U_BOOT_DEFAULT}
 menu title U-Boot menu
-prompt 0
+prompt ${U_BOOT_PROMPT}
 timeout ${U_BOOT_TIMEOUT}
 "
 

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: