Re: [PATCH v2] scripts/package: snap-pkg target
From: Masahiro Yamada
Date: Wed Sep 20 2017 - 05:28:55 EST
2017-09-12 19:11 GMT+09:00 Paolo Pisati <paolo.pisati@xxxxxxxxxxxxx>:
> @@ -0,0 +1,14 @@
> +name: kernel
> +version: KERNELRELEASE
> +summary: Linux kernel
> +description: The upstream Linux kernel
> +grade: stable
> +confinement: strict
> +type: kernel
> + 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?