Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #90090
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ben Hutchings <ben@decadent.org.uk> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1032610: reliably composable initramfs - zero-pad output to allow concatenation |
| Date | Mon, 17 Nov 2025 00:30:01 +0100 |
| Message-ID | <LRUlX-dvbI-11@gated-at.bofh.it> (permalink) |
| References | <G7Ad3-bnVa-3@gated-at.bofh.it> <G7Ad3-bnVa-3@gated-at.bofh.it> |
| X-Original-To | Birgit Edel <edelbitter@posteo.de> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Sun Nov 16 23:21:07 2025 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -2.599 |
| Reply-To | Ben Hutchings <ben@decadent.org.uk>, 1032610@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debian-kernel@lists.debian.org |
| X-Debian-Pr-Message | followup 1032610 |
| X-Debian-Pr-Package | initramfs-tools-core |
| X-Debian-Pr-Keywords | patch |
| X-Debian-Pr-Source | initramfs-tools |
| Content-Type | multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-EAIO4YeE1EEuysZchX0p" |
| User-Agent | Evolution 3.56.2-7 |
| MIME-Version | 1.0 |
| X-Sa-Exim-Connect-IP | 2a02:578:851f:1502:391e:c5f5:10e2:b9a3 |
| X-Sa-Exim-Mail-From | ben@decadent.org.uk |
| X-Sa-Exim-Scanned | No (on maynard); SAEximRunCond expanded to false |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1937091 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 68 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | 1032610@bugs.debian.org |
| X-Original-Date | Mon, 17 Nov 2025 00:20:22 +0100 |
| X-Original-Message-ID | <26402a1ef0129eeaee126327d38a58c85f49bd9e.camel@decadent.org.uk> |
| X-Original-References | <3d5952d27c04fe656683ea93a18d911d@posteo.de> <3d5952d27c04fe656683ea93a18d911d@posteo.de> |
| Xref | csiph.com linux.debian.bugs.dist:1270456 linux.debian.kernel:90090 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Control: tag -1 - patch On Fri, 10 Mar 2023 01:54:47 +0000 Birgit Edel <edelbitter@posteo.de> wrote: > Package: initramfs-tools-core > Version: 0.140 > Severity: wishlist > File: /usr/sbin/mkinitramfs > Tags: patch > > mkinitramfs supports compression that neither encodes size, nor is > guaranteed to signal the end of compressed archive. Linux refuses to > parse additional archives beyond the first compressed one - unless they > start at 4-byte boundary like uncompressed ones do. > > I request > A) to modify mkninitramfs to append such padding and > B) to add tests to ensure concatenation keeps working (even after, say, > compression algo/lvl changes) [...] Currently unmkinitramfs is not able to unpack an initramfs image that has multiple compressed parts. Since you want mkinitramfs to support this option, I would expect to see a patch that also makes unmkinitramfs support it. (There is an open merge request to make unmkinitramfs use 3cpio where available: <https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/172>. I haven't tested whether 3cpio supports multiple compressed parts; if it does then only the tests need to be updated to cover this case.) Ben. -- Ben Hutchings Beware of programmers who carry screwdrivers. - Leonard Brandwein
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1032610: reliably composable initramfs - zero-pad output to allow concatenation Ben Hutchings <ben@decadent.org.uk> - 2025-11-17 00:30 +0100 Bug#1032610: reliably composable initramfs - zero-pad output to allow concatenation Birgit Edel <edelbitter@posteo.de> - 2025-11-17 14:20 +0100
csiph-web