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

RE: Remove fwupdate from the archive



> -----Original Message-----
> From: Steve McIntyre <steve@einval.com>
> Sent: Thursday, August 29, 2019 6:16 PM
> To: Limonciello, Mario
> Cc: ftpmaster@debian.org; debian-efi@lists.debian.org
> Subject: Re: Remove fwupdate from the archive
> 
> 
> [EXTERNAL EMAIL]
> 
> On Thu, Aug 29, 2019 at 05:33:15PM +0000, Mario.Limonciello@dell.com wrote:
> >Hi,
> >
> >I wanted to request fwupdate and the various signed packages produced
> >by it to be removed from the Debian archive.  The functionality has
> >been merged into the fwupd package and now from an upstream
> >perspective fwupdate is abandoned and won't receive any more
> >updates. For example it no longer compiles against GCC9 and there is
> >no desire upstream to fix this.
> 
> Nod. I was planning to talk to you about this already. We should plan
> it properly, add transitional packages etc., though.
> 


My thought was for fwupd to provide a 'fwupdate' package, but I suspect that it might mean
adding an epoch to fwupd's version since fwupdate is at 12 and fwupd is at 1.2.10.

>>> a = '12-5'
>>> b = '1.2.10-1'
>>> apt_pkg.version_compare (a,b)
1
>>> b = '1:1.2.10-1'
>>> apt_pkg.version_compare (a,b)
-1

Could you advise what sort of changes need to be made for transition packages?
Here is my attempt:

--- a/contrib/debian/control.in
+++ b/contrib/debian/control.in
@@ -120,6 +120,16 @@ Description: GObject introspection data for libfwupd
  It can be used by packages using the GIRepository format to generate
  dynamic bindings.

+Package: fwupdate
+Architecture: linux-any
+Multi-Arch: same
+Depends: fwupd
+Breaks: fwupdate (<< 12-5)
+Replaces: fwupdate (<< 12-5)
+Depends: fwupd
+Description: Transitional package to migrate to fwupd
+ This is a transitional package to move from fwupdate to fwupd
+
 Package: fwupd-amd64-signed-template
 Architecture: amd64
 Depends: ${shlibs:Depends}, ${misc:Depends}, make | build-essential | dpkg-dev


Reply to: