Red Hat Bugzilla – Bug 462391
Cannot creative legacy packages: --nodirtokens still broken
Last modified: 2009-01-07 04:29:04 EST
This is a continuation of bug 56040. The --nodirtokens option is *still* broken. It creates packages with empty CPIO archives. I've verified this on:
* Red Hat 7.3 with rpm-4.0.4-7x.18
* Fedora Core 6 with rpm-220.127.116.11-2.fc6
* Fedora 8 with rpm-18.104.22.168-7.fc8
I've also verified that the ChangeLog for 22.214.171.124 doesn't mention anything about this. I can try the latest GIT as well, if necessary (but the build fails currently on my systems).
It's easy to verify the problem: Just run rpm2cpio on the resulting package, and you will get something like:
That is, no actual files.
Easily reproduced, easily fixed... Upstream now, Fedora will get it after the beta freeze.
Created attachment 316863 [details]
Patch against RPM 4.0.4
You are my hero! Thanks.
Attaching a patch against RPM 4.0.4, if anyone's interested.
In rawhide now (rpm-4.5.90-0.git8514.1)
FWIW I've also applied it to rpm 4.4.x branch so the next maintenance release for that will get it too. rpm 4.0.4 isn't going to see maintenance releases I'm afraid :)
rpm-126.96.36.199-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.