From: Ben Hutchings <ben@decadent.org.uk>
To: riku.voipio@linaro.org, linux-kbuild@vger.kernel.org, mmarek@suse.cz
Cc: Chris J Arges <chris.j.arges@canonical.com>,
maximilian attems <maks@stro.at>
Subject: Re: [PATCH v4] deb-pkg: add source package
Date: Wed, 02 Sep 2015 00:26:14 +0100 [thread overview]
Message-ID: <1441149974.9215.59.camel@decadent.org.uk> (raw)
In-Reply-To: <1441115335-25165-2-git-send-email-riku.voipio@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
On Tue, 2015-09-01 at 16:48 +0300, riku.voipio@linaro.org wrote:
> From: Riku Voipio <riku.voipio@linaro.org>
>
> Make deb-pkg build both source and binary package like make rpm-pkg does.
> For people who only need binary kernel package, there is now bindeb-pkg
> target, same target also used to build the .deb files if built from the
> source package using dpkg-buildpackage.
>
> Generated source package will build the same kernel .config than what
> was available for make deb-pkg. The name of the source package can
> be set with SOURCENAME enviroment variable.
KDEB_SOURCENAME, not SOURCENAME.
> The source package is useful for GPL compliance, or for feeding to a
> automated debian package builder.
>
> Cc: Chris J Arges <chris.j.arges@canonical.com>
> Cc: maximilian attems <maks@stro.at>
> Cc: Ben Hutchings <ben@decadent.org.uk>
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---
> v4 address Bens commends,
> - use src_tar function instead of git archive for kernel sources
> - move KDEB_SOURCENAME setting to Makefile so it can be passed to
> src_tar
> - use a toplevel .config file instead of a copy in debian/control
> - defend against delete of debian/ in clean target
[...]
> @@ -391,4 +396,32 @@ EOF
> > > create_package "$dbg_packagename" "$dbg_dir"
> fi
>
> +if [ "x$1" = "xdeb-pkg" ]
> +then
> + cat < debian/rules
> +#!/usr/bin/make -f
> +
> +build:
> +> > \$(MAKE) sourcename=${sourcename} KDEB_PKGVERSION=${packageversion}
I don't think this needs to set any variables, though it shouldn't
hurt.
> +binary-arch:
> + \$(MAKE) sourcename=${sourcename} KDEB_PKGVERSION=${packageversion} bindeb-pkg
[...]
Shouldn't this be setting KDEB_SOURCENAME, not sourcename?
Ben.
--
Ben Hutchings
Horngren's Observation:
Among economists, the real world is often a special case.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2015-09-01 23:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 13:48 [PATCH v4] deb-pkg: add source package riku.voipio
2015-09-01 23:26 ` Ben Hutchings [this message]
2015-09-02 8:09 ` Riku Voipio
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=1441149974.9215.59.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=chris.j.arges@canonical.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=maks@stro.at \
--cc=mmarek@suse.cz \
--cc=riku.voipio@linaro.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