From: Peter Xu <peterx@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
"QEMU Devel Mailing List" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Is there a way to package QEMU binaries?
Date: Thu, 14 Jun 2018 19:03:22 +0800 [thread overview]
Message-ID: <20180614110322.GD14019@xz-mi> (raw)
In-Reply-To: <CAFEAcA-d8mVd2d7mAAVH6aWGHwyi=9yzKiwm2pX9unJ5OaACxg@mail.gmail.com>
On Thu, Jun 14, 2018 at 11:50:23AM +0100, Peter Maydell wrote:
> On 14 June 2018 at 09:14, Daniel P. Berrangé <berrange@redhat.com> wrote:
> > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote:
> >> Then is there an easy way to port the specfile and tools to QEMU
> >> repository so that we can pack that even with a git tree?
>
> > Well if we want to have a RPM spec file for QEMU distributed with upstream
> > QEMU, then I think it would be better todo what libvirt does[2], and simply
> > have the real Fedora specfile kept in QEMU git [3].
>
> I would prefer not to. I think packaging is a job for downstream
> distributors, and having our own (probably under-maintained)
> version of the packaging infrastructure in upstream git just
> makes things awkward for downstream, and requires us to make
> choices about which distros we think "important" enough to
> provide packaging for...
AFAIU that's not a problem; we can just provide more ways to package
the system gradually, just like what Linux did:
Kernel packaging:
rpm-pkg - Build both source and binary RPM kernel packages
binrpm-pkg - Build only the binary kernel RPM package
deb-pkg - Build both source and binary deb kernel packages
bindeb-pkg - Build only the binary kernel deb package
snap-pkg - Build only the binary kernel snap package (will connect to external hosts)
tar-pkg - Build the kernel as an uncompressed tarball
targz-pkg - Build the kernel as a gzip compressed tarball
tarbz2-pkg - Build the kernel as a bzip2 compressed tarball
tarxz-pkg - Build the kernel as a xz compressed tarball
But it seems that this package thing is not really that welcomed (and
after all we have multiple specfiles here and there). Then I think
I'll just live with it now.
Regards,
--
Peter Xu
next prev parent reply other threads:[~2018-06-14 11:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 6:24 [Qemu-devel] Is there a way to package QEMU binaries? Peter Xu
2018-06-12 6:41 ` Fam Zheng
2018-06-12 6:52 ` Peter Xu
2018-06-12 7:01 ` Fam Zheng
2018-06-12 7:41 ` Peter Xu
2018-06-12 7:53 ` Liviu Ionescu
2018-06-13 3:48 ` Peter Xu
2018-06-12 11:34 ` Laszlo Ersek
2018-06-12 11:29 ` Laszlo Ersek
2018-06-13 3:46 ` Peter Xu
2018-06-12 8:52 ` Peter Maydell
2018-06-13 4:02 ` Peter Xu
2018-06-13 9:28 ` Daniel P. Berrangé
2018-06-14 2:55 ` Peter Xu
2018-06-14 8:14 ` Daniel P. Berrangé
2018-06-14 10:50 ` Peter Maydell
2018-06-14 11:03 ` Peter Xu [this message]
2018-06-14 12:58 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180614110322.GD14019@xz-mi \
--to=peterx@redhat.com \
--cc=berrange@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).