Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Masahiro Yamada 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: References: X-Mailbox-Line: From debian-kernel-request@lists.debian.org Tue Apr 18 14:51:27 2017 Old-Return-Path: 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: Content-Type: text/plain; charset=UTF-8 X-Mailing-List: archive/latest/112392 List-ID: List-URL: 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 , Michal Marek , debian-kernel , Andrew Donnellan X-Original-Date: Tue, 18 Apr 2017 23:31:12 +0900 X-Original-Message-ID: X-Original-References: <20170331130941.5250-1-riku.voipio@linaro.org> <20170331130941.5250-4-riku.voipio@linaro.org> Xref: csiph.com linux.debian.kernel:57579 Hi. 2017-03-31 22:09 GMT+09:00 : > From: Riku Voipio > > 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 > Tested-By: Jim Davis > Signed-off-by: Riku Voipio > --- 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