Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751568AbdITJ2w (ORCPT ); Wed, 20 Sep 2017 05:28:52 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:18347 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391AbdITJ2u (ORCPT ); Wed, 20 Sep 2017 05:28:50 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com v8K9SiVZ011155 X-Nifty-SrcIP: [209.85.161.174] X-Google-Smtp-Source: AOwi7QDyoblkSfjs2uz83OUQ+EquIR9vBeSIhhxR5EypboTIl7S6Mq3S7q75BTeUgBDFhJVIimOuxwvLONHaDWDEvNc= MIME-Version: 1.0 In-Reply-To: <1505211091-19295-1-git-send-email-paolo.pisati@canonical.com> References: <1505211091-19295-1-git-send-email-paolo.pisati@canonical.com> From: Masahiro Yamada Date: Wed, 20 Sep 2017 18:28:03 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] scripts/package: snap-pkg target To: Paolo Pisati Cc: Michal Marek , =?UTF-8?Q?Vin=C3=ADcius_Tinti?= , Behan Webster , Matthias Kaehlcke , Linux Kbuild mailing list , Linux Kernel Mailing List 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: 714 Lines: 38 Hi Paolo, 2017-09-12 19:11 GMT+09:00 Paolo Pisati : > @@ -0,0 +1,14 @@ > +name: kernel > +version: KERNELRELEASE > +summary: Linux kernel > +description: The upstream Linux kernel > +grade: stable > +confinement: strict > +type: kernel > + > +parts: > + kernel: > + plugin: kernel > + source: SRCTREE > + source-type: git > + kconfigfile: SRCTREE/.config Other targets such as rpm-pkg and deb-pkg work without relying on git. However, snap-pkg every time does "git clone", so changes added to the source tree, but not committed yet, are not reflected to the package. Is it possible to work with a tarball, like other targets do? -- Best Regards Masahiro Yamada