On Wed, Sep 20, 2017 at 11:28 AM, Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html