Page 1 of 1

Host packages locally which are built together with image

Posted: Mon Aug 13, 2018 2:39 am
by ghorvath
I have managed to build an image together with some packages for my youku-yk1 router. Now, this router has a micro-sd card reader, so I thought I put in a 2 GB card, and put the locally compiled packages on there.

I copied over the contents of the built/ directory, I added the plugins source in the web-interface using http://localhost/... , but opkg update gives the following error:

Code: Select all

Failed to decode signature
Signature check failed.
Remove wrong Signature file.
Also web-interface does not refresh the list.

What am I doing wrong?

Re: Host packages locally which are built together with image

Posted: Thu Aug 23, 2018 6:58 pm
by ghorvath
Anyone has any ideas I might try?

Re: Host packages locally which are built together with image

Posted: Sat Aug 25, 2018 2:27 am
by Lantis
Did you include the metadata files as well?
Packages
Packages.gz
Packages.manifest
Packages.sig

See my example here
http://lantisproject.com/gargoyle_mvebu/default/

Re: Host packages locally which are built together with image

Posted: Sat Sep 08, 2018 2:29 am
by ghorvath
Lantis wrote:Did you include the metadata files as well?
Packages
Packages.gz
Packages.manifest
Packages.sig
Yes I did. I simply copied over the whole built directory as it was.

Re: Host packages locally which are built together with image

Posted: Fri Nov 02, 2018 11:38 am
by ghorvath
As an FYI, if anyone attempts to do the same: the solution is that the local sources need to be added as

Code: Select all

file:///tmp/whatever
and not with http.

Note that there are 3 slashes after file:, the third one is for the root directory on the router.