Your message dated Fri, 31 May 2019 07:03:41 +0000
with message-id <[email protected]>
and subject line Bug#928735: fixed in u-boot-menu 4
has caused the Debian Bug report #928735,
regarding u-boot-menu: Avoid hard-coding "vmlinuz"
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 [email protected]
immediately.)
--
928735: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928735
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: u-boot-menu
Severity: normal
Version: 3
Tags: patch
Some architectures which might make use of u-boot-menu do not have
kernel files matching "vmlinuz" (e.g. riscv64 has "vmlinux").
The attached patch uses "linux-version list --paths" to output the path
of each versioned kernel, which outputs the matching kernel filenames.
live well,
vagrant
From f33424de3c643127d4f41284f9516ed7a54846af Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Thu, 9 May 2019 14:53:04 -0700
Subject: [PATCH] Use "linux-version list --paths" to avoid hard-coding
"vmlinuz" kernels.
---
u-boot-update | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/u-boot-update b/u-boot-update
index 9dd8b0e..bd4ccd2 100755
--- a/u-boot-update
+++ b/u-boot-update
@@ -132,7 +132,7 @@ timeout ${U_BOOT_TIMEOUT}
"
# Find linux versions
-_VERSIONS="$(linux-version list | linux-version sort --reverse)"
+_VERSIONS=$(linux-version list --paths | linux-version sort --reverse | sed -e 's,.*/boot/,,g')
# Find boot directory as seen in u-boot, and path prefix while in linux
if [ "$(stat --printf %d /)" = "$(stat --printf %d /boot)" ]
@@ -147,9 +147,11 @@ else
fi
-for _VERSION in ${_VERSIONS}
+for _KERNEL in ${_VERSIONS}
do
- echo "P: Writing config for /boot/vmlinuz-${_VERSION}..."
+ # Strip kernel prefix to derive version.
+ _VERSION=${_KERNEL#*-}
+ echo "P: Writing config for ${_KERNEL}..."
_NUMBER="${_NUMBER:-0}"
_ENTRY="${_ENTRY:-1}"
@@ -181,7 +183,7 @@ do
label l${_NUMBER}
menu label ${U_BOOT_MENU_LABEL} ${_VERSION}
- linux ${_BOOT_DIRECTORY}/vmlinuz-${_VERSION}
+ linux ${_BOOT_DIRECTORY}/${_KERNEL}
${_INITRD}
${_FDT}
append ${U_BOOT_ROOT} ${U_BOOT_PARAMETERS}"
@@ -196,7 +198,7 @@ label l${_NUMBER}
label l${_NUMBER}r
menu label ${U_BOOT_MENU_LABEL} ${_VERSION} (rescue target)
- linux ${_BOOT_DIRECTORY}/vmlinuz-${_VERSION}
+ linux ${_BOOT_DIRECTORY}/${_KERNEL}
${_INITRD}
${_FDT}
append ${U_BOOT_ROOT} $(echo ${U_BOOT_PARAMETERS} | sed -e 's| quiet||') single
--
2.20.1
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: u-boot-menu
Source-Version: 4
We believe that the bug you reported is fixed in the latest version of
u-boot-menu, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated u-boot-menu package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 31 May 2019 08:53:57 +0200
Source: u-boot-menu
Architecture: source
Version: 4
Distribution: unstable
Urgency: medium
Maintainer: Riku Voipio <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 928735
Changes:
u-boot-menu (4) unstable; urgency=medium
.
* Add git-buildpackage config:
+ Sign tags.
+ Use DEP-14 vendor-namespaced git branch naming.
* Fix avoid hardcoding vmlinuz as kernel stem.
Closes: Bug#928735. Thanks to Vagrant Cascadian.
Checksums-Sha1:
1b05cff0069db2a24052683f7207d3c725c901ef 1608 u-boot-menu_4.dsc
a8a455aa98b31821f2b4c559abc38c2b7724c7ff 11176 u-boot-menu_4.tar.xz
9c07c8821be6d990f0f33abaf5122ff2ad5d1447 5248 u-boot-menu_4_amd64.buildinfo
Checksums-Sha256:
2f2dacda3d90c8b1d6af5e9f8f7876d5db57fd0489a63f850a8b2a920037cb34 1608
u-boot-menu_4.dsc
a09e0cd5d5bdfdf2b10ef96f22a507f929ebe393873a9dd5578eacf546673d7a 11176
u-boot-menu_4.tar.xz
1afb0d3d588abeed97ae7f0d52f31568003b0afb1e1206a934e16361755e6ca8 5248
u-boot-menu_4_amd64.buildinfo
Files:
088626f52117a27ee6fa253a2ac4d97f 1608 admin optional u-boot-menu_4.dsc
c5ecb80ae70a4d6b45e100995e62e82a 11176 admin optional u-boot-menu_4.tar.xz
624b18d4165693e21cc54fcc961e34cb 5248 admin optional
u-boot-menu_4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlzw0JgACgkQLHwxRsGg
ASG2iw/+Px8XeEAYGHqiYR4InWyVuPPGIrfb8/5LLhLC2VdsP2mQvY0vFRyeWQbn
J6nxr5DLkZkQquGFMKKFzk6hdkeKyIW9nkjtQphU9CVV8ZmU2qcZiLX7jQPpzP1h
PUv7F8uIAoM0KX5Z0nb6BQB7Ug4MUQksyJFSjzSul8d8uGWhtNJfKvguwkDKZG4W
mOKH+pjlzfeEEo0Ar65XNHwQJ3Nee97CCO5Zjzt0ZlwHlY9sysBBB6zVNX8Y1HRG
1+BpG0Lj6F19AqGYVs20HC8XVLztzR77rxuDHLVBM77rCXlxdE8rGoIfz8SEUx/A
oLe5oVaggzeqGn0qTO5IzYf6sOuE/Zv3sbDQDcImM7cmd7+WQc9Z9e1Kl948nz4d
VJctao1EF0e0iEAze84MZnx/6HsIdwMqxRroeegvD4wEhRW21w4GwSuEBzx17pfq
+5CaU/I09HXT7QuYwFlMdIZ8dWffbOxQ72lZhTmWOlx8JSqiZthAMj9MlbrYCb7t
WaUqeI5CLG6828ZBGbxeAAlW27kmz4rcgEvjbh4pGusIwcitXN1jLCV/rkNQJyd4
Hqgz1GH6qTL8kIS69oOgGAdHQKnhbRbuOlQRSxgSnExctQtSQwHl8OqMCJFhMyMy
tsu5f/pyF8rSNGiKIVWTeMlXMV+5GMrXVadKnpHHXyP0IZzb7UU=
=lHj+
-----END PGP SIGNATURE-----
--- End Message ---