Firmwares on jammy are uncompressed so we have to compress the deb
binaries, otherwise they will be humongous. I'm still not clear on the
exact reason for the decompression problem so maybe not that.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/2087528

Title:
  Don't compress binary deb packages

Status in linux-firmware package in Ubuntu:
  Fix Committed
Status in linux-firmware source package in Noble:
  Confirmed
Status in linux-firmware source package in Oracular:
  Confirmed
Status in linux-firmware source package in Plucky:
  Fix Committed

Bug description:
  [ Impact ]

  linux-firmware binary packages contain only compressed blobs. There's
  no need to (re-) compress the binary debian packages. In fact
  decompression at package installation time could cause problems which
  results in package installation failures.

  dpkg-deb (subproces): ZSTD_decompressStream error : Corrupted block
  detected

  [ Test Plan ]

  Download binary debian packages and inspect them.

  Uncompressed:
  $ file linux-firmware_20241107.gitdb0082fa-0ubuntu1_amd64.deb
  linux-firmware_20241107.gitdb0082fa-0ubuntu1_amd64.deb: Debian binary package 
(format 2.0), with control.tar  

  Compressed:
  $ file linux-firmware_20230915.gitdfa11466-0ubuntu1_amd64.deb
  linux-firmware_20230915.gitdfa11466-0ubuntu1_amd64.deb: Debian binary package 
(format 2.0), with control.tar.zst, data compression zst

  [ Where Problems Could Occur ]

  Problems would show up at package installation and/or upgrade time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2087528/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to