]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
make snap-pkg support
authorPaolo Pisati <paolo.pisati@canonical.com>
Tue, 27 Jun 2017 11:13:05 +0000 (13:13 +0200)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 29 Jan 2018 13:44:58 +0000 (07:44 -0600)
commitb3f38f3bd4df73d1406fd9a15c18549001aa5306
tree97d442e18f97f86fdbd8644017a2e8fe601b3017
parent9784fa9e3388ad1e99ec0d0fdef00f3505b51dfc
make snap-pkg support

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

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
.gitignore
scripts/package/Makefile
scripts/package/snapcraft.template [new file with mode: 0644]