Add bootgen-xlnx to Breaks, Replaces, and Provides

Bug #2000774 reported by ethan.hsieh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xilinx-bootgen (Ubuntu)
Fix Released
Undecided
Dave Jones

Bug Description

[Impact]
Add bootgen-xlnx to Breaks, Replaces, and Provides

xilinx-bootgen created by Debian Project official developer is available on Debian and Ubuntu archives. bootgen-xlnx should be replaced by xilinx-bootgen. So, add bootgen-xlnx to Breaks, Replaces, and Provides.

https://tracker.debian.org/pkg/xilinx-bootgen
https://launchpad.net/ubuntu/+source/xilinx-bootgen

[Test Plan]
Check if a workable boot.bin can be generated by xilinx-bootgen after installing xilinx-bootgen
1. install xlnx-firmware (2022.1-2-0ubuntu1)
2. install xilinx-bootgen
3. Check if a workable boot.bin can be generated by xilinx-bootgen

[Where problems could occur]
bootgen-xlnx is same as xilinx-bootgen. There should be no risk.

Related issues:
LP: #2000773 Make xlnx-firmware depend on xilinx-bootgen instead of bootgen-xlnx
LP: #1998728 Make bootgen-xlnx a transitional package without real contents

tags: added: oem-priority originate-from-1971664
description: updated
Revision history for this message
ethan.hsieh (ethan.hsieh) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "xilinx-bootgen-lunar.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
ethan.hsieh (ethan.hsieh) wrote :

Rebase the debdiff because xilinx-bootgen has been upgraded from 2022.1-1 to 2022.2-1

Revision history for this message
Nobuhiro Iwamatsu (iwamatsu) wrote :
Revision history for this message
Dave Jones (waveform) wrote :

Looks like the fix upstream from @iwamatsu has already sync'd to lunar -- thanks! I'm just looking at the xlnx-firmware side of things for LP: #2000773 and bootgen-xlnx in LP: #1998728

Changed in xilinx-bootgen (Ubuntu):
status: New → Fix Released
Revision history for this message
Dave Jones (waveform) wrote :

Hmm, come to think of it, I'm afraid I'm going to overwrite @iwamatsu's upstream changes in order to effect the rename of xlnx-bootgen in Ubuntu, sorry! It'll be a temporary delta to xilinx-bootgen to include an empty transitional bootgen-xlnx definition which we can drop at the next release.

This is just the simplest way to deal with the rename without causing any unnecessary work for Debian, and without doing lots of surgery on xlnx-bootgen. I'll upload a debdiff here shortly.

Changed in xilinx-bootgen (Ubuntu):
assignee: nobody → Dave Jones (waveform)
Revision history for this message
Dave Jones (waveform) wrote :

One additional note: we don't need Provides here as firstly the transitional bootgen-xlnx package depends directly on xilinx-bootgen and we want both it and the empty transitional package to be installable simultaneously, and secondly I'm intending to patch xlnx-firmware to depend on "xilinx-bootgen | bootgen-xlnx" to permit it to work with the legacy package (in case xlnx-firmware migrates before the new package), and to permit the empty transitional package to be uninstalled and the dependencies still be satisfied.

Revision history for this message
ethan.hsieh (ethan.hsieh) wrote :

verified packages on lunar by installing or upgrading them. Here are my test steps:

Install xlnx-firmware (2022.1-2-0ubuntu1), bootgen-xlnx (2022.1-0ubuntu1), and u-boot-zynqmp (2020.2-0ubuntu11).

Scenario 1: Upgrade bootgen-xlnx
$ apt-get install bootgen-xlnx
bootgen-xlnx is upgraded to 2022.2-2ubuntu1
xilinx-bootgen (2022.2-2ubuntu1) is installed

Scenario 2: Upgrade xlnx-firmware
apt-get install xlnx-firmware
xlnx-firmware is upgraded to 2022.1-2-0ubuntu2

Scenario 3: Install xilinx-bootgen
$ apt-get install xilinx-bootgen
bootgen-xlnx is upgraded to 2022.2-2ubuntu1
xilinx-bootgen is upgraded to 2022.2-2ubuntu1

Scenario 4: Upgarde xlnx-firmware bootgen-xlnx
$ apt-get install xlnx-firmware bootgen-xlnx
bootgen-xlnx is upgraded to 2022.2-2ubuntu1
xilinx-bootgen (2022.2-2ubuntu1) is installed
xlnx-firmware is upgraded to 2022.1-2-0ubuntu2

Package can be installed or upgraded without any problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.