Received: by 10.223.164.202 with SMTP id h10csp1451566wrb; Mon, 27 Nov 2017 03:03:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMauJpwGoycCXxmuyPP3HwQ6yeBFKeC2eC+SCbyHTqJhV97JAZriduevMaZuNg6S2Fqi7gng X-Received: by 10.99.168.5 with SMTP id o5mr36550070pgf.427.1511780603749; Mon, 27 Nov 2017 03:03:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511780603; cv=none; d=google.com; s=arc-20160816; b=WU/FwGIlDileuFS43o9603yB2FIXpKTKbEP+RCxOVQHQeMdQfY2QPTD0mJxAq+6wco dEWPbNHze8sfdww+uN5SHePTTmPfiW/7M4D0+ipCU2qcFLGS8OghRPJ7ZN6Wj6hRlsOo /LkkPG6vX95w/FVs3DAxbx3bTEOpOZs0/494R5fdJIA+rZuGHt3nFaJTfCfF+Z98Khw4 4FckNNVCQ9unNcFgePV9QnJ8PWfCHYB49qzccOHLopxa8IiEsw/O5t5eYWZVlM/3ekwk 93SBuaVTQhD/1qQJitiT9XUVBD0KpaaGMcdwLeAYur1FkWHHa2cuaiIoEX3iWo3Vw6l9 g82Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=m63j8sPViCvXbB+xMfeYfpFh9Das6VUzcNmtklbufE4=; b=snCbPtOB6xb+D/9qm+AFoY/JrC4ijm/hzR/+0TWHFHN6tNHi2FdD3MjrMH8y6G0Tgt BGyv6bZ3Eyewv/WHyo5avgA8v5IIX8YflBuzLYsVuAkN2ch4m/ydJFM44XrfPcwH72x4 Xj6SZFg/YYoJE/qTa+DfgEj+rGf/ybO9Q49dc+ZVR/CPUcMQwspwzC1eEMxa7IRV0WB5 KqdQTGlaFoFLVJZb+x7QtITXKsEMD3G9tWj6nPrdS3Vd3lFK8Jgalv0OTRijTr3Bnc0E cRnaty+aVpqLdNex/oDPbXP1IKcHfb7zG6jaiTQkPLNtCp+1tWwk97dY/2WSC9XF67i+ FQJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y68si25003141pfd.104.2017.11.27.03.03.11; Mon, 27 Nov 2017 03:03:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752298AbdK0LBr (ORCPT + 78 others); Mon, 27 Nov 2017 06:01:47 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:56777 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752096AbdK0KqN (ORCPT ); Mon, 27 Nov 2017 05:46:13 -0500 Received: from mail-ot0-f199.google.com ([74.125.82.199]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1eJGvT-00067z-Bg for linux-kernel@vger.kernel.org; Mon, 27 Nov 2017 10:46:11 +0000 Received: by mail-ot0-f199.google.com with SMTP id r11so15715671ote.20 for ; Mon, 27 Nov 2017 02:46:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=m63j8sPViCvXbB+xMfeYfpFh9Das6VUzcNmtklbufE4=; b=HM64MnHC5y/sGZpI2VP/e147geisrx1uouNB1dU7PBx/GUhoxJVCmogrNhS8ef7FvN 7XhSiFfgGfobLQeZjKCm8M9+9mM0buHPdq/9LlO2VxCVDQuiZ5tRdIqn4BPwXKNVluiJ vWc0nXr4RPUeB93eCLWUmT8b7JrPpSdhsVIXeQWtxggRzFT4acgI2e7aGuMgE6hetxcl Uj9jcIYJOuyKYOSW4bgJZZXkbHyzKK+V+djxd6myLmdlhim1SAQm8kRflnYtamKDbETy DbD4t4E34nzUGCorUKsgTR09iX1/itBpFlvkqRMIoSZpMGDBq2nPYOxAZ4QTey5xVnhA 5miw== X-Gm-Message-State: AJaThX4aaQ0lLvGJ1HZ5MG8z7GI88nN4Wz0y5JPS1ZML/b5CvqG8iZAD meWyohpEXhKqJtaCFweVnOLem2wWrSswwfpm0YIWc0nozITEWI1UmaB5OIeBZXvIcKWtHdHx90D 5gC07bybK5Ma8FPsmeiZsgbaCRIZFRWkFYP+h3sB1nCvxJJHq/SE9Ilb/Fw== X-Received: by 10.157.16.76 with SMTP id o12mr27653654oto.144.1511779570370; Mon, 27 Nov 2017 02:46:10 -0800 (PST) X-Received: by 10.157.16.76 with SMTP id o12mr27653634oto.144.1511779569987; Mon, 27 Nov 2017 02:46:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.136.79 with HTTP; Mon, 27 Nov 2017 02:46:09 -0800 (PST) In-Reply-To: References: <1505211091-19295-1-git-send-email-paolo.pisati@canonical.com> From: Paolo Pisati Date: Mon, 27 Nov 2017 11:46:09 +0100 Message-ID: Subject: Re: [PATCH v2] scripts/package: snap-pkg target To: Masahiro Yamada 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 20, 2017 at 11:28 AM, Masahiro Yamada wrote: >> @@ -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? Thanks for your feedback Yamada-san. Yes, switching to a tarball is doable and i'll send a v3 with that change. -- bye, p. From 1579050357536400722@xxx Wed Sep 20 09:29:30 +0000 2017 X-GM-THRID: 1578328285370326982 X-Gmail-Labels: Inbox,Category Forums