RE: Building an OS
The steps for an APT-based (like Ubuntu) system are something like this:
1. Get the packages you want to install. If you've already installed them, they may still be on your system, in the apt-cache, which should be /var/cache/apt/archives.
2. Set up a local apt repository (a good apt manual will explain this).
3. Set up the installer to install all of these packages (and remove references to packages you don't want installed). I've never looked at the Ubuntu installer, but poke around at it.
4. Burn your repo and the installer to disk!
I would suggest that before you do go about removing packages from the original installer, you try removing them on a running Ubuntu system, so you know that you've satisfied all dependencies. In fact, if you have your Ubuntu system the way that you like it, dpkg -l will give you a list of installed packages. Do some reformatting of the list in VB to be the form APT likes, set up your sources.list to point to your local repo, and after your newly installed system is bootstrapped, just apt-get install (the list) in a shell file, chmod a+x it, and reference it near the end of the install script (sometime after the chroot to the bootstrapped system).
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.
-andrewdodd13
|