Make an image with needded packages

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Make an image with needded packages

Post by harsini »

Hi.I just want to build an image with my needed packages without unusable packages.I provided the prerequisites and I used make custom command. I entered to config menu and encounter huge amount of configs which takes all my life to learn all of them ;) .Could anyone give me a little instruction on how I can just select packages I need and build an image file?
Thanks

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: Make an image with needded packages

Post by harsini »

No answer?OK no problem.
Could anyone tell me about below options of choosing a package in make custom configuration menu:

Code: Select all

[*] build-in
[]excluded
<M> module
<> module capable
[/size]
What is difference between module and built-in?

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Make an image with needded packages

Post by Lantis »

Almost no one here does custom builds mate.

Please continue to post your discoveries so others can find them.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: Make an image with needded packages

Post by harsini »

Lantis wrote:Almost no one here does custom builds mate.

Please continue to post your discoveries so others can find them.
:?: :?: :?: Why do you say that.No one does custom build???? :?: :?: :?:

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Make an image with needded packages

Post by ispyisail »

harsini wrote:
Lantis wrote:Almost no one here does custom builds mate.

Please continue to post your discoveries so others can find them.
:?: :?: :?: Why do you say that.No one does custom build???? :?: :?: :?:

Almost...............

I think you will get better support for custom builds at OpenWRT

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: Make an image with needded packages

Post by harsini »

ispyisail wrote:
harsini wrote:
Lantis wrote:Almost no one here does custom builds mate.

Please continue to post your discoveries so others can find them.
:?: :?: :?: Why do you say that.No one does custom build???? :?: :?: :?:

Almost...............

I think you will get better support for custom builds at OpenWRT
But I see many many posts about make custom issues here in gargoyle froum. :roll:

marrco
Posts: 47
Joined: Fri Dec 26, 2014 1:00 pm

Re: Make an image with needded packages

Post by marrco »

harsini wrote:But I see many many posts about make custom issues here in gargoyle froum. :roll:
I tried to do my own adding nodogsplash to 841nd but no luck, so i moved to openwrt for that. But i found out how easily add chan 12 and 13 for not-us users. That's a different beast.
And i'd appreciate if you write a small, detailed howto about make custom, so if you try keep us informed about progress and results

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: Make an image with needded packages

Post by harsini »

Ok.I just want to build an image for tplinkwr841/741 with needed packages.I exclude packages and also modules (Which I don't understand difference between them exactly)which I guess are not necessary for me in hope to get a smaller image using make custom after providing prerequisites all know about that(git clone , blah blah blah).
I use ubuntu14.04 in virtual box.
My first of attempt of make was failed because of low disk space.
I modified vdi size and try again.after couple of hours it failed because an url was not found.

Code: Select all

Download failed.
--2015-05-27 10:04:47--  http://mirror2.openwrt.org/sources/gdb-linaro-7.6-2013.05.tar.bz2
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-05-27 10:04:55 ERROR 404: Not Found.

Download failed.
--2015-05-27 10:04:55--  http://downloads.openwrt.org/sources/gdb-linaro-7.6-2013.05.tar.bz2
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-05-27 10:04:56 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
make[4]: *** [/home/nima/gargoyle/custom-src/dl/gdb-linaro-7.6-2013.05.tar.bz2] Error 2
make[4]: Leaving directory `/home/nima/gargoyle/custom-src/toolchain/gdb'
make[3]: *** [toolchain/gdb/prepare] Error 2
make[3]: Leaving directory `/home/nima/gargoyle/custom-src'
make[2]: *** [/home/nima/gargoyle/custom-src/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[2]: Leaving directory `/home/nima/gargoyle/custom-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/nima/gargoyle/custom-src'
find: `bin': No such file or directory
find: `bin': No such file or directory
ls: cannot access bin: No such file or directory



Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Make an image with needded packages

Post by Lantis »

Either website was down when your build occurred.

Or

Try this.
http://thindot.blogspot.com.au/2011/08/ ... t.html?m=1
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: Make an image with needded packages

Post by harsini »

Lantis wrote:Either website was down when your build occurred.

Or

Try this.
http://thindot.blogspot.com.au/2011/08/ ... t.html?m=1
Yes the website was down and I saw the thindot.blogspot.com solution but there were no gcc version 4.5.x but newer version which I select and again the previous error occurred.I will test other version option tomorrow.But is there a way not to start all the make procedure from first but from the failing point?I noticed that I could save config file and load that later but making procedure start from first.
If this would be possible making process become much more easy and time saving. :geek:

Post Reply