On 11/20/2013 11:42 AM, Kent Reed wrote:
> On Wed, Nov 20, 2013 at 10:13 AM, Charles Steinkuehler <
> [email protected]> wrote:
> 
>> I would _really_ like to create an SD imaging script that doesn't have
>> to hit the internet to download files, but that requires fairly major
>> surgery to RCN's scripts.  Any volunteers?
> 
> Charles, are you referring to Nelson's setup_sd.sh script which you include
> in the base directory of your machinekit tarball?

Yes.

> What do you have in mind for an alternative approach? Looking for local
> copies of directories/files before hitting the Internet?

I thought about this and chatted with RCN about some options, and the
following approach seems reasonable and shouldn't require too much in
the way of drastic changes.

There are two parts to what I'm thinking about.  One would be a
"preload" command that could be added to the image creation scripts that
would download the current version of the required files so they are in
the MachineKit tarball.  This is completely "safe" and can easily be
setup so it won't break RCN's usage of the build scripts.

The other part would be tweaks to the actual setup_sdcard.sh script so
it would use the cached files and not try to pull updates from the
internet.

RCN already has some switches to do part of this (see --spl and
--bootloader, which affect the LOCAL_SPL, LOCAL_BOOTLOADER and
USE_LOCAL_BOOT variables), but that doesn't support everything currently
fetched online.  Also, it would be good if the syntax was simpler to
use.  Perhaps something like an --offline switch.

-- 
Charles Steinkuehler
[email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to