Make bootgen-xlnx a transitional package without real contents

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

Bug Description

[Impact]
Make bootgen-xlnx a transitional package without real contents

xilinx-bootgen created by Debian Project official developer is available on Debian and Ubuntu archives. bootgen-xlnx maintained by Canonical is unnecessary now. So, make bootgen-xlnx a transitional package and make it depend on xilinx-bootgen.

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

[Test Plan]
xlnx-firmware depends on bootgen-xlnx. Make sure there is no dependency issue after upgrading bootgen-xlnx
1. install bootgen-xlnx (2022.1-0ubuntu1) and xlnx-firmware (2022.1-2-0ubuntu1)
2. upgrade bootgen-xlnx and then check if xilinx-bootgen is installed
3. Check if boot.bin generated by xilinx-bootgen can work well.

[Where problems could occur]
Some packages like xlnx-firmware depend on bootgen-xlnx. Need to make sure that a workable boot.bin can be generated after upgrading bootgen-xlnx.

Related issues:
LP: #2000773 Make xlnx-firmware depend on xilinx-bootgen instead of bootgen-xlnx
LP: #2000774 Add bootgen-xlnx to Breaks, Replaces, and Provides

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

Need to update xlnx-frimware before removing it from lunar.
I'll update xlnx-frimware to replace bootgen-xlnx with xilinx-bootgen.

---
Package: xlnx-firmware
Depends: ${misc:Depends}, u-boot-zynqmp, bootgen-xlnx

tags: added: oem-priority originate-from-1971664
description: updated
summary: - Remove bootgen-xlnx from lunar
+ Make bootgen-xlnx a transitional package without real contents
description: updated
description: updated
description: updated
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 "bootgen-xlnx-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
Dave Jones (waveform) wrote :

Typically, the way I've seen this done in the past is actually a bit simpler than this:

Rather than changing bootgen-xlnx to have a different source format, and removing all the files, and changing the d/rules and so on ... leave this package as it is, and define a new (empty, obviously) bootgen-xlnx transitional binary package in the intended target. This does assume that the intended target has a version greater than the "old" package but that is the case here.

In other words, we do nothing to the bootgen-xlnx *source* package, leaving it alone at version 2022.1-0ubuntu1. In the xilinx-bootgen source package, we add the (empty) transitional entry for bootgen-xlnx to d/control so xilinx-bootgen source version 2022.2-2 will generate an (empty, transitional) bootgen-xlnx 2022.2-2 which will supercede the current bootgen-xlnx 2022.1-0ubuntu1.

This keeps the changes to bootgen-xlnx minimal (in fact, empty), and results in minimal changes to xilinx-bootgen (one extra, empty, binary package). It will be a delta to Debian in xilinx-bootgen but one that can be dropped at the next cycle.

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

I'm going to add xilinx-bootgen as affected here as the transitional package will actually be defined there.

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

This bug was fixed in the package xilinx-bootgen - 2022.2-2ubuntu1

---------------
xilinx-bootgen (2022.2-2ubuntu1) lunar; urgency=medium

  * d/rules, d/control: Place Breaks, Replaces in d/control and add
    transitional definition for xlnx-bootgen. This delta can be removed after
    lunar's release (LP: #1998728, LP: #2000774)

 -- Dave Jones <email address hidden> Thu, 12 Jan 2023 17:45:38 +0000

Changed in xilinx-bootgen (Ubuntu):
status: New → Fix Released
Dave Jones (waveform)
Changed in bootgen-xlnx (Ubuntu):
status: New → Fix Released
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.