From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0003154]: configure option for local package mirror
Date: Sun, 27 Apr 2008 07:18:37 -0700 [thread overview]
Message-ID: <cda71f7ebcc51d69d8b3c15c5721564e@busybox.net> (raw)
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=3154
======================================================================
Reported By: kendallc
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 3154
Category: New Features
Reproducibility: N/A
Severity: feature
Priority: normal
Status: assigned
======================================================================
Date Submitted: 04-26-2008 19:21 PDT
Last Modified: 04-27-2008 07:18 PDT
======================================================================
Summary: configure option for local package mirror
Description:
It would be nice to have an option for buildroot pull packages from a local
mirror. This feature would allow users to run a fresh buildroot build
without an internet connection. It requires the addition of a
configuration option. It also requires a few lines below the "..._SITE:="
stuff in every package's makefile.
I've attached a patch that adds a BR2_PACKAGE_MIRROR option to
target/device/Config.in.mirrors. The patch adds support for the option to
uClibc, and busybox. This patch is just an example of how this feature
could be added to a couple of packages.
The code to add the feature is fairly simple; however, it requires
touching every package makefile.
======================================================================
----------------------------------------------------------------------
hbr_in - 04-26-08 21:38
----------------------------------------------------------------------
Hi,
Instead of adding an option, what i do is that -->
i have a local directory which contain all my sources.
my local src --> /opt/source
my buildroot directory --> /opt/buildroot
Inside Buildroot, i link the above folder to dl directory i.e., to a
directory where buildroot downloads and stores all package source
/opt/buildroot # ln -s /opt/source dl
So when buildroot starts make it 1st check in dl/ directory (which is my
local source directory) and if it finds the source there then it doesnt
need any internet connection.
Regards
Gururaja
----------------------------------------------------------------------
UlfSamuelsson - 04-27-08 07:18
----------------------------------------------------------------------
A better implementation would replace $(WGET) with a script
which test the main location first and then goes through a
list of mirrors.
Then no package file need to be touched, and it is easy
to maintain a number of mirrors.
Issue History
Date Modified Username Field Change
======================================================================
04-26-08 19:21 kendallc New Issue
04-26-08 19:21 kendallc Status new => assigned
04-26-08 19:21 kendallc Assigned To => buildroot
04-26-08 19:21 kendallc File Added: buildroot-local-mirror.patch
04-26-08 21:38 hbr_in Note Added: 0007254
04-27-08 07:18 UlfSamuelsson Note Added: 0007274
======================================================================
next reply other threads:[~2008-04-27 14:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-27 14:18 bugs at busybox.net [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-05 14:11 [Buildroot] [buildroot 0003154]: configure option for local package mirror bugs at busybox.net
2008-07-05 7:56 bugs at busybox.net
2008-04-29 2:56 bugs at busybox.net
2008-04-27 4:38 bugs at busybox.net
2008-04-27 2:21 bugs at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cda71f7ebcc51d69d8b3c15c5721564e@busybox.net \
--to=bugs@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox