Skip to content

redhat: fix dist-git/upload for the kernel.changelog.xz file

Bugzilla: INTERNAL Upstream Status: RHEL only

By default redhat/scripts/expand_srpm.sh adds a .gitignore entry excluding any *.xz file in dist-git, since those are usually tarballs which can get very large.

The problem is that kernel.changelog.xz file recently added gets excluded and can't be commited to dist-git due that.

To avoid it, since src.rpm and git can compress contents and the updates are incremental, just use the uncompressed contents when adding it to the src.rpm, and only compress the file when providing it to the kernel-doc package.

This fixes commit "redhat: ship all the changelog from source git into kernel-doc" recently merged into kernel-ark.

Reported-by: Justin Forbes jforbes@redhat.com Signed-off-by: Herton R. Krzesinski herton@redhat.com

Edited by Herton R. Krzesinski

Merge request reports