8devices Community
https://www.8devices.com/community/

modifying a package and installing it
https://www.8devices.com/community/viewtopic.php?f=1&t=288
Page 1 of 1

Author:  shroukkhan [ 11 Dec 2012, 12:09 ]
Post subject:  modifying a package and installing it

hi guys,
i want to modify a package ( baresip ) a little bit and install it back to carambola.

a not so smart way of doing it is:

1) extract the source from ./dl/baresip-0.4.1.tar.gz
2) modify
3) zip it again !!
4) run make in carambola
5) upload it to device

bad idea! what is the proper way to modify a base package like this?

Author:  DominikS [ 11 Dec 2012, 12:11 ]
Post subject:  Re: modifying a package and installing it

What's the problem with doing it like this?

Author:  NaYthan [ 12 Dec 2012, 09:16 ]
Post subject:  Re: modifying a package and installing it

I doubt there is a better way.
You have to download the source, modify it, compile it into a package and then upload it to Carambola to install it.
So unless I misunderstood your post, that's exactly what you're doing.
If you had your own repository you'd upload the new package there, then configure opkg on your carambola to use your repository and then install it.

On a normal Linux System you'd just install the sources, but that's not really practical on a Carambola since you're too limited in ROM space (you'd need the whole toolchain for compiling) and processing power (would probably take hours to compile what'd compile in minutes on a PC).

Author:  xn2000 [ 07 Apr 2014, 09:03 ]
Post subject:  Re: modifying a package and installing it

I know its an old thread , but maybe it is of use to someone.
The better and proper way is to make your own openwrt package, like this :

http://wiki.openwrt.org/doc/devel/packages

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/