[guardian-dev] lildebi status: the script builds Debian on a CM phone!

Hans-Christoph Steiner hans at at.or.at
Wed Apr 6 21:02:05 EDT 2011


Yeah, that's the plan.  There are also a couple binaries that need to  
be included (pkgdetails, busybox, and currently debootstrap).  The  
plan for later is to make the script also download debootstrap from  
Debian directly, and to make a custom build of busybox that only has  
what we need (ar, echo, dpkg-deb, patch, wget, gunzip, bunzip2,  
mke2fs).  That'll make the package quite a bit smaller.

.hc

On Apr 6, 2011, at 5:41 PM, Nathan of Guardian wrote:

> So we can probably pack these scripts up into the assets folder of an
> APK, and then execute them using a Runtime command, right?
>
> On 04/06/2011 04:08 PM, Hans-Christoph Steiner wrote:
>>
>> Here's the relevant info:
>>
>> scripts/push-app-payload.sh
>>    This uploads stuff to the phone to simulate what would be
>>    included in the app itself.
>>
>> scripts/create-debian-setup.sh
>>    This does the whole shebang, the relevant variables like
>>    mnt, imagename, imagesize, repo, and distro should probably
>>    be settable via cmd line arguments, but aren't yet
>>
>> scripts/remove-debian-setup.sh
>>    This should remove all traces of what create-debian-setup.sh did
>>
>> scripts/start-debian.sh
>>    semi-functional script for starting a Debian session once
>>    everything is installed and setup.
>>
>> .hc
>>
>>
>> On Apr 6, 2011, at 12:51 PM, Kevin Galligan wrote:
>>
>>> I'll take a look at it tonight and slam it in.  See how it goes.
>>>
>>> On Wed, Apr 6, 2011 at 12:36 PM, Hans-Christoph Steiner
>>> <hans at at.or.at> wrote:
>>>>
>>>> So last night I ironed out the last glitches on the lildebi  
>>>> scripting
>>>> and
>>>> porting, and have twice created a working Debian install by just
>>>> running the
>>>> script. It creates the disk image on the SD Card, formats it ext2,
>>>> mounts it
>>>> loopback, and runs debootstrap on it to create the Debian  
>>>> install.  I
>>>> also
>>>> have a rough script for starting a Debian session from the  
>>>> Terminal.
>>>>
>>>> Kevin, I'm ready to plug it into the GUI, and it sounded like you  
>>>> had
>>>> that
>>>> code ready for me to try.  Here's the git repo, the layout is a bit
>>>> messy at
>>>> the moment, I'll clean it up soon.
>>>>
>>>> https://github.com/guardianproject/lildebi
>>>>
>>>> We took a quick vote on name variations and agreed on 'lildebi',  
>>>> hope
>>>> that
>>>> works for people.  I think its both cute and geeky enough.
>>>>
>>>> .hc
>>>>
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>>
>>>>                           kill your television
>>>>
>>>>
>>>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>>
>> “We must become the change we want to see. - Mahatma Gandhi
>>
>> _______________________________________________
>> Guardian-dev mailing list
>>
>> Post: Guardian-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>
>> To Unsubscribe
>>       Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>>       Or visit:
>> https://lists.mayfirst.org/mailman/options/guardian-dev/nathan%40guardianproject.info
>>
>>
>> You are subscribed as: nathan at guardianproject.info
>
> _______________________________________________
> Guardian-dev mailing list
>
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>
> To Unsubscribe
>        Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>        Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40at.or.at
>
> You are subscribed as: hans at at.or.at



----------------------------------------------------------------------------

I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.      - General Smedley Butler




More information about the Guardian-dev mailing list