Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754850AbdIHLe7 (ORCPT ); Fri, 8 Sep 2017 07:34:59 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:56616 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbdIHLe5 (ORCPT ); Fri, 8 Sep 2017 07:34:57 -0400 X-Google-Smtp-Source: AOwi7QDYN7eqEbRxpnPc6NSL3BYx1Pfipzbz8mu7gmPVRuhRugtB5b/esxKTuSbjt6cbHZoLhzTpjtuJNM5lizH8NpA= MIME-Version: 1.0 In-Reply-To: References: <1499698797-10747-1-git-send-email-paolo.pisati@canonical.com> From: Paolo Pisati Date: Fri, 8 Sep 2017 13:34:54 +0200 Message-ID: Subject: Re: [PATCH] scripts/package: snap-pkg target To: Jim Davis Cc: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, =?UTF-8?Q?Vin=C3=ADcius_Tinti?= , Matthias Kaehlcke , "Luis R . Rodriguez" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1480 Lines: 34 Apologise for the late reply. On Wed, Jul 19, 2017 at 2:02 AM, Jim Davis wrote: > > Once I fed the snap into ubuntu-image, after hunting down a plausible > model file, I did get an image file that booted under qemu. I guess > if you're in the know about snap (and I don't include myself in that > august company) you'd know that the snap-pkg target won't directly > give you something you can boot, but the "make help" output looks so > similar to the other conventional build targets that the some might > miss that point. Well, snap-pkg gives you a kernel that you can use in an ubuntu-core image (either when building an entire image from scratch, or you can install it in a preinstalled system), much like deb-pkg or rpm-pkg targets give you a kernel that you can use in a deb / rpm based system, i don't see any semantics difference here. > The snap-informed would also know that the snap-pkg target would > download stuff from the internet as part of the build process, but > that's unusual enough in kernel building that another recent build > target, linkcheckdocs, included "(will connect to external hosts)" as > part of its "make help" output. That probably would be a good idea > for the snap-pkg target too. Ack. > Running snap-pkg twice in a row seems to have rebuilt the entire > kernel source, unlike the other more conventional build targets. The deb-pkg and rpm-pkg targets rebuild from scratch too if invoked in a row. -- bye, p.