Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #57579

Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.debian.kernel
Subject Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target
Date Tue, 18 Apr 2017 17:00:02 +0200
Message-ID <txCLM-7nt-29@gated-at.bofh.it> (permalink)
References <tr4MN-59K-9@gated-at.bofh.it> <tr4MN-59K-7@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Tue Apr 18 14:51:27 2017
Old-Return-Path <yamada.masahiro@socionext.com>
X-Amavis-Spam-Status No, score=-0.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GMAIL=1, MURPHY_DRUGS_REL8=0.02] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .socionext. - helo: .condef-06.nifty. - helo-domain: .nifty.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
Dkim-Filter OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com v3IEVDP6025061
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1492525874; bh=SctlDiEvACKx1xPNkAT4in5ApIZsrQcpGD9tOtRntDY=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=21QY+vxYHYY3UWEahGE+Ab3H2FBdQsoPJdmRK6krIisz2JBFwI4cX8kelcW4zbXfh kcREoElfkA+lgQRCi9uTtQmWwH+RT0cYMUflMW8/4jIvmDUvzXBJ4vDzuJXQ3TySaN dqrZbuGu8WYk/VpUZfEsD5upi1VVglR+/Snrf2DvckieOt4z3f0MkKk6qUd2razE48 lr4usbCYxeCSxA7kLYMyEWO7EQF91Oe2PqQ+pFyBQmfewzghep9VGaPuXhe2xRnbMb ZY70J4/BbY3sXZkyvUPRvdTk7/K1ygWMJcxQwGOrDOVkMtrIbmzppfMsIP4ureolne yGUAWe/QBdpWA==
X-Nifty-Srcip [209.85.161.182]
X-Gm-Message-State AN3rC/4RZELM0CFEqEQ+hlsKQz9m3CiQv7TB9ujFlFdWe9slb+YNtDHn tWOThblWhcq8wmZPxo/teIpyW0QscA==
X-Received by 10.129.78.6 with SMTP id c6mr19247120ywb.86.1492525873175; Tue, 18 Apr 2017 07:31:13 -0700 (PDT)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAK7LNAQT8pSjgW5ujnWWP3MKfU0=XnFKWVeNu-fx5NRRX0XgMg@mail.gmail.com>
Content-Type text/plain; charset=UTF-8
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/112392
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/CAK7LNAQT8pSjgW5ujnWWP3MKfU0=XnFKWVeNu-fx5NRRX0XgMg@mail.gmail.com
Approved robomod@news.nic.it
Lines 45
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>, Michal Marek <mmarek@suse.com>, debian-kernel <debian-kernel@lists.debian.org>, Andrew Donnellan <andrew.donnellan@au1.ibm.com>
X-Original-Date Tue, 18 Apr 2017 23:31:12 +0900
X-Original-Message-ID <CAK7LNAQT8pSjgW5ujnWWP3MKfU0=XnFKWVeNu-fx5NRRX0XgMg@mail.gmail.com>
X-Original-References <20170331130941.5250-1-riku.voipio@linaro.org> <20170331130941.5250-4-riku.voipio@linaro.org>
Xref csiph.com linux.debian.kernel:57579

Show key headers only | View raw


Hi.


2017-03-31 22:09 GMT+09:00  <riku.voipio@linaro.org>:
> From: Riku Voipio <riku.voipio@linaro.org>
>
> Currently, the deb-pkg and bindeb-pkg targets create multiple packages
> for the kernel binaries, headers, userspace headers and firmware.
>
> For developers who generate Debian packages as part of their development
> workflows, it's often not necessary to generate all these packages.
>
> Introduce new target, fastdeb-pkg, which only generates kernel packages.
> Re-order package build order so that kernel binary package is created
> first and we can exit cleanly unless generating rest packages with the
> old bindeb-pkg and deb-pkg targets.
>
> Cc: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
> Tested-By: Jim Davis <jim.epost@gmail.com>
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---


Before expanding this even more,
please help me understand this script.

Commit 3716001b implemented source package build
at the end of the builddeb script.
However, the binary packages are still built in its own way.
(So, debian/rules is not used in general workflows,
so we need to test it explicitly somehow.)

Why do not we create a source package first,
then build binary packages from it?


rpm-pkg does that way.
(generate a spec-file, then run rpmbuild)




-- 
Best Regards
Masahiro Yamada

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] builddeb: add make fastdeb-pkg target riku.voipio@linaro.org - 2017-03-31 15:30 +0200
  Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-18 17:00 +0200
    Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Riku Voipio <riku.voipio@linaro.org> - 2017-04-20 13:10 +0200
      Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-21 12:20 +0200
        Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 17:10 +0200

csiph-web