[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMsH0TTiundrshLLSFC-71QBA+otrP7stTicJg7g=Wf2GPE7_Q@mail.gmail.com>
Date: Fri, 8 Sep 2017 13:34:54 +0200
From: Paolo Pisati <paolo.pisati@...onical.com>
To: Jim Davis <jim.epost@...il.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <mmarek@...e.com>, linux-kbuild@...r.kernel.org,
VinÃcius Tinti <viniciustinti@...il.com>,
Matthias Kaehlcke <mka@...omium.org>,
"Luis R . Rodriguez" <mcgrof@...nel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] scripts/package: snap-pkg target
Apologise for the late reply.
On Wed, Jul 19, 2017 at 2:02 AM, Jim Davis <jim.epost@...il.com> wrote:
>
> 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.
Well, snap-pkg gives you a kernel that you can use in an ubuntu-core
image (either when building an entire image from scratch, or you can
install it in a preinstalled system), much like deb-pkg or rpm-pkg
targets give you a kernel that you can use in a deb / rpm based
system, i don't see any semantics difference here.
> 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.
Ack.
> Running snap-pkg twice in a row seems to have rebuilt the entire
> kernel source, unlike the other more conventional build targets.
The deb-pkg and rpm-pkg targets rebuild from scratch too if invoked in a row.
--
bye,
p.
Powered by blists - more mailing lists