• Bug#1102690: marked as pending in flash-kernel

    From Vagrant Cascadian@21:1/5 to All on Fri May 2 00:20:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1102690 in flash-kernel reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/installer-team/flash-kernel/-/commit/9817c7cc5c06074a48507497662df123f54f80ec

    ------------------------------------------------------------------------
    Avoid a double run of handle_dtb and --force with no kvers
    (Closes: #1102690)

    The logic surrounding $kvers deals with three scenarios: kvers is blank
    (we want to flash the latest kernel), kvers is non-blank and is the
    latest kernel, and kvers is non-blank and is *not* the latest kernel.

    In the second case (typical during a kernel upgrade), f-k runs
    handle_dtb twice (redundantly). At the top of main() after checking
    kvers is non-blank and then later after checking for --force and whether
    kvers is not the latest version.

    The existing logic also permits the (rather nonsensical) case of being
    called with --force but with no kernel version specified. This commit
    re-works the logic to avoid running handle_dtb redundantly, and to error
    out with an appropriate message if called with --force but with no
    kernel version. ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1102690

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vagrant Cascadian@21:1/5 to Vagrant Cascadian on Tue May 13 23:40:01 2025
    On 2025-05-01, Vagrant Cascadian wrote:
    Control: tag 1102690 -pending -patch
    Bug #1102690 in flash-kernel reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/installer-team/flash-kernel/-/commit/9817c7cc5c06074a48507497662df123f54f80ec

    Well, while that solved the problem, it introduced upgrade problems from
    older versions with dpkg trigger loops... so removing the patch and
    pending tags. :(

    Help? :)

    live well,
    vagrant

    ------------------------------------------------------------------------ Avoid a double run of handle_dtb and --force with no kvers
    (Closes: #1102690)

    The logic surrounding $kvers deals with three scenarios: kvers is blank
    (we want to flash the latest kernel), kvers is non-blank and is the
    latest kernel, and kvers is non-blank and is *not* the latest kernel.

    In the second case (typical during a kernel upgrade), f-k runs
    handle_dtb twice (redundantly). At the top of main() after checking
    kvers is non-blank and then later after checking for --force and whether kvers is not the latest version.

    The existing logic also permits the (rather nonsensical) case of being
    called with --force but with no kernel version specified. This commit re-works the logic to avoid running handle_dtb redundantly, and to error
    out with an appropriate message if called with --force but with no
    kernel version. ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1102690

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCaCO6WwAKCRDcUY/If5cW qqwCAP9zI+AT+nyGYU1+AJPqhif5AltCAmkrN6FKhMarHMNWpgEAnWB9sVCQAs2x jfCeEsEvL9ntcN4Hz1LHzx+fIMlBZQI=hkvo
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)