[Gambas-user] BASH help!

David Reese horus at ...1679...
Sun May 11 18:58:23 CEST 2008


Hamish Robertson wrote:
> Hey guys,
> I'm a complete novice to programming. so please don't flame me is I say
> anything stupid here.
>   
No, man, that's how we learn things.
> I have a great idea for a program that will (hopefully) help linux a lot.
>
> debs and rpms seem to be the defacto standards now for distributing linux
> programs. However this system works best only if you have an internet
> connection.
>
> I've got a good solution to this probroblem. way easier than
> apt-on-cd....I'm just having a bit of trouble working out the technical
> details.
>
>
> This is the plan. (Using Ubuntu as the base distro for the time being)
>
> I create a small distro based on ubuntu-minimal, with only  x.org, gtklibs,
> synaptic and the gambas runtime installed.
>
> Once the distro gets booted (preferably from virtualbox or vmware) it
> automatically loads my program which walks the user through the process
> choosing the package they wish to install with synaptic and downloading the
> required packages and dependancies. This will put all the downloaded .deb
> files into /var/cache/apt/archives.
>
> This next bit has me stuck. I need to find some way of getting a list of all
> the downloaded .deb files and putting that into the control file of a new
> metapackage. I was thinking of using a bash script here but I'm not sure...
> Any suggestions?
Yeah.  This sounds very similar to what is going on in the PCLinux OS 
community with repackagings of this distribution for specialized 
purposes.  You might want to take a look at what's going on at 
http://www.pclinuxos.com?  Look at MiniMe, especially.

Later On,
Dave




More information about the User mailing list