Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1690842 > unrolled thread
| Started by | Jim Davis <jim.epost@gmail.com> |
|---|---|
| First post | 2017-07-19 02:10 +0200 |
| Last post | 2017-07-19 02:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] scripts/package: snap-pkg target Jim Davis <jim.epost@gmail.com> - 2017-07-19 02:10 +0200
| From | Jim Davis <jim.epost@gmail.com> |
|---|---|
| Date | 2017-07-19 02:10 +0200 |
| Subject | Re: [PATCH] scripts/package: snap-pkg target |
| Message-ID | <u4KIV-PC-17@gated-at.bofh.it> |
On Mon, Jul 10, 2017 at 11:13 PM, Paolo Pisati <paolo.pisati@canonical.com> wrote: > On Mon, Jul 10, 2017 at 6:46 PM, Jim Davis <jim.epost@gmail.com> wrote: >>> >>> For more information on snap packages: https://snapcraft.io/docs/ >> >> Is this something a user could do with the existing deb target, and >> then running deb2snap? > > No, the kernel snap is a special case, it requires communication with > the store (e.g. to download the core snap) and some extra steps, > therefore you should use snapcraft and abstract from these details. From a quick check on top of 4.13-rc1 it does what it says, but... building a snap like this, unless I'm missing something, is quite different from building a kernel deb or rpm or tar package. Once I fed the snap into ubuntu-image, after hunting down a plausible model file, I did get an image file that booted under qemu. I guess if you're in the know about snap (and I don't include myself in that august company) you'd know that the snap-pkg target won't directly give you something you can boot, but the "make help" output looks so similar to the other conventional build targets that the some might miss that point. The snap-informed would also know that the snap-pkg target would download stuff from the internet as part of the build process, but that's unusual enough in kernel building that another recent build target, linkcheckdocs, included "(will connect to external hosts)" as part of its "make help" output. That probably would be a good idea for the snap-pkg target too. Running snap-pkg twice in a row seems to have rebuilt the entire kernel source, unlike the other more conventional build targets. -- Jim
Back to top | Article view | linux.kernel
csiph-web