www.8devices.com
View unanswered posts | View active topics It is currently 28 Mar 2024, 23:01



Reply to topic  [ 4 posts ] 
 modifying a package and installing it 
Author Message

Joined: 06 Nov 2012, 07:51
Posts: 21
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?


11 Dec 2012, 12:09
Profile

Joined: 25 Oct 2012, 06:24
Posts: 26
What's the problem with doing it like this?


11 Dec 2012, 12:11
Profile

Joined: 14 May 2012, 15:48
Posts: 196
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).


12 Dec 2012, 09:16
Profile

Joined: 04 Feb 2014, 12:56
Posts: 7
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


07 Apr 2014, 09:03
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.