Re: [OS-BUILD PATCHv3] redhat/kernel.spec.template: update compression variables to support zstd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Brian Masney on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2650#note_1525688570

I left xz as a dependency because it is still used by these places:

```
redhat/Makefile:TARFILE:=linux-$(SPECTARFILE_RELEASE).tar.xz
redhat/Makefile:        @rm -f $(REDHAT)/linux-*.tar.xz
redhat/dracut-virt.conf:compress="xz"
redhat/scripts/create-tarball.sh:       TARID=$(xzcat -qq "$TARBALL" | git
get-tar-commit-id 2>/dev/null)
redhat/scripts/create-tarball.sh:  git archive
--prefix="linux-$SPECTARFILE_RELEASE"/ --format=tar "$_GITID" | xz $XZ_OPTIONS
$XZ_THREAD
S > "$TARBALL";
```

In the default configuration, it will list xz twice as a BuildDependency,
which doesn't hurt anything. I bet there's a way in RPM spec to do some kind
of conditional, but I didn't look into that because I assumed it was going to
add additional complexity. I can look into that if you'd prefer though.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux