[Voyage-linux] Custom install script

Frank Hoeflich (spam-protected)
Sat Jan 14 02:20:17 HKT 2012


Jordi:

    Nice distillation - I adapted the original SDK scripts as well but haven't carven them down so nicely as you have yet.

    I see you also discovered that /bin/sh is a bad interpreter to use for echoing SFDISKCMD to stdin of sfdisk.  The /bin/sh symlink to bash in format-cf.sh worked for me in 0.6.5 but symlink to dash failed (something to do with quoting) in 0.7.5, so need to force the script's interpreter to bash all the time.  I found this out the hard way ...

--Frank

--- On Fri, 1/13/12, Jordi Soucheiron <jsoucheiron at dexmatech.com> wrote:
From: Jordi Soucheiron <jsoucheiron at dexmatech.com>
Subject: Re: [Voyage-linux] Custom install script
To: "Ikem Krueger" <ikem.krueger at googlemail.com>, "voyage-linux" <Voyage-linux at voyage.hk>
Date: Friday, January 13, 2012, 4:49 AM

Hello again,
I 've finally had some time to work on this. I've updated the script with some new improvements.

Just a comment: I use hd5 just to make sure that I don't accidentally have this drive in my computer. In the event of someone having up to 5 hd* devices that would need to be changed.



http://pastebin.com/a8ENUkgN

As always comments, updates and questions are welcome :)

Jordi Soucheiron

Software Engineer
jsoucheiron at dexmatech.com



DEXMA

Parc Tecnològic Barcelona Nord
c/ Marie Curie, 8-14  (Oficina 227)
ES-08042, Barcelona
t: (+34) 93 181 01 96
www.dexmatech.com

Follow us on Twitter and Linkedin







2011/12/5 Ikem Krueger <ikem.krueger at googlemail.com>


> 2011/11/25 Jordi Soucheiron <jsoucheiron at dexmatech.com>:



> I've been using dd to replicate my voyage installations for a while.



> Now I'm trying a new way of installing using the script below.



> Feel free to use it or propose improvements. :)



I translated your script and rewrote it to make it more robust.



Please take a look: http://pastebin.com/CeHcAtFQ



Tell me if it works for you.




-----Inline Attachment Follows-----

_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20120113/d07997b6/attachment.html>


More information about the Voyage-linux mailing list