[PATCH] [X/master] make snap-pkg support
Paolo Pisati
paolo.pisati at canonical.com
Tue Jun 27 11:13:04 UTC 2017
BugLink: http://bugs.launchpad.net/bugs/1700747
This patch integrates snapcraft in the kbuild environment of the Linux kernel.
To use it:
make defconfig
make snap-pkg
or in case of cross-compilation (e.g. arm):
export ARCH=arm; export CROSS_COMPILE=arm-linux-gnueabihf-
make defconfig
make snap-pkg
The resulting kernel snap will be generated in $(objtree)/snap
Paolo Pisati (1):
make snap-pkg support
.gitignore | 5 +++++
scripts/package/Makefile | 13 +++++++++++++
scripts/package/snapcraft.template | 14 ++++++++++++++
3 files changed, 32 insertions(+)
create mode 100644 scripts/package/snapcraft.template
--
2.7.4
More information about the kernel-team
mailing list