2017-11-28 19:21:06

by Paolo Pisati

[permalink] [raw]
Subject: Re: [PATCH v3] scripts/package: snap-pkg target

On Mon, Nov 27, 2017 at 7:33 PM, Jim Davis <[email protected]> wrote:
>
> With this patch applied to the 4.14 kernel source, and running make
> snap-pkg on a Ubuntu 16.04 VM with the latest 16.04 kernel config
> file, I ran into
>
> Traceback (most recent call last):
> File "/usr/lib/python3.5/shutil.py", line 538, in move
> os.rename(src, real_dst)
> FileNotFoundError: [Errno 2] No such file or directory:
> '/home/jim/linux/snap/parts/kernel/install/lib/firmware' ->
> '/home/jim/linux/snap/parts/kernel/install/firmware'
>
> What did I miss?

You need a recent version of snapcraft, i landed a fix for that last week.

$ snap install --classic --edge snapcraft

or refresh it, in case you already installed via snaps:

$ snap refresh --edge snapcraft

and then 'make snap-pkg' again.
Beware of $PATH in case you have the snap and deb version installed.
--
bye,
p.

From 1585245323954328298@xxx Mon Nov 27 18:35:50 +0000 2017
X-GM-THRID: 1578328285370326982
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread