Package: cpio-win32
Version: 2.9.90-2
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Clint,
Since version 2.9.90-2, cpio.exe as provided by cpio-win32 changed its output
format, hence breaking win32-loader.
For the context: win32-loader embeds cpio.exe and gzip.exe to be able to embed
a preseed.cfg file within the d-i initrd.gz with the following ".bat" script:
cpio.exe -o -H newc < cpio_list > newc_chunk
attrib -r initrd.gz
gzip.exe -1 < newc_chunk >> initrd.gz
This has worked for the Lenny version quite well, but now fails (the d-i kernel
fails to boot, because it can't read the unzipped initrd).
Using the great snapshot.debian.org service, I tried the above script with all
the versions from Lenny to now and I can now affirm (as pointed out by the
Version: field above) that an uncompatible change in the output format was
introduced in the Debian version 2.9.90-2 (aka probably on the 2.10 branch).
For my test (with a small preseed.cfg), I had the following results:
- -rw-r--r-- 1 didier didier 1024 28 avr 13:52 cpio_2.9-13lenny1.chunk
- -rw-r--r-- 1 didier didier 1024 28 avr 13:56 cpio_2.9-14.chunk
- -rw-r--r-- 1 didier didier 1024 28 avr 13:57 cpio_2.9-15.chunk
- -rw-r--r-- 1 didier didier 1040 28 avr 13:58 cpio_2.9.90-2.chunk
- -rw-r--r-- 1 didier didier 1040 28 avr 13:59 cpio_2.9.90-3.chunk
- -rw-r--r-- 1 didier didier 1040 28 avr 13:59 cpio_2.10-1.chunk
…
There is a change in size after 2.9-15 . All files before 2.9-15 included are
not binary-identical, but all produce a valid initrd.gz. All files after
2.9.90-2.chunk aren't either binary-identical, but all produce an invalid
initrd.gz.
As I have absolutely no idea how cpio works internally, I tried to provide as
much useful information as I could: I hope it'll be enough. If not, please
ask!
Cheers,
OdyX
P.S. I hesitated about the severity, which I'd see higher as it breaks a
pet-package of mine, but I'll let that up to you. :-D
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (750, 'unstable'), (700, 'testing-proposed-updates'), (700,
'testing'), (90, 'experimental'), (50, 'testing-proposed-updates'), (50,
'experimental'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iJwEAQECAAYFAkvYKEYACgkQ884eR6Y9JhTLSwP/aQhk5sCI39KHAUW+bfsOtDq5
fPCZUgpxzg2TY5hhJyIlPvr8xgsumvyirEZfg60GwRjvGB2pTQ7WaS8imt6MX2fb
XhPzObtwY9jjcRsr81QTDdh2RxQXfpt/rSLCxa370YWAtSoQQsrATE6JljjJ3J/c
FWhDTmsAR+PxZd+8+lI=
=FC/f
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]