Hi,

My work on a new image build script for Bering-uClibc 4.x is not
complete but it is ready to be shared. I have just checked an initial
version of "buildimage.pl" into CVS. It is heavily based on
"buildpacket.pl" and hopefully you will spot the similarities.

The basic idea is as follows:
   - There are multiple "disk image" targets.
   - Each of these has its own configuration file (buildimage.cfg) which
I have chosen to locate in directories called buildtool/image/*
   - So far I have created two examples:
         buildtool/image/Bering-uClibc-isolinux-std/buildimage.cfg
         buildtool/image/Bering-uClibc-syslinux-std/buildimage.cfg
   - The first example is intended to replicate the current
tools/geniso.sh script and creates an equivalent .iso file
      - The .iso file is now created in the relevant sub-directory of
buildtool/image
      - I have intentionally omitted the .ser (Serial Console)
configuration since I expect to have alternative image configurations
for these (Bering-uClibc-isolinux-ser perhaps)
   - The second example has the same contents but generates a .tar.gz
file intended to be copied to a SYSLINUX-prepared flash drive
      - I don't think it is practical to create a ".img" or similar for
a flash drive, but please correct me if that is wrong
   - As with the previous scripts, some template files are taken from
tools/image/* but I have created new sub-directories (common, isolinux,
syslinux)
   - The buildtool.cfg file controls the substitution of variables in
these template files

Please give it a try and see what you think. An example command line is:

   ./buildimage.pl --image=Bering-uClibc-isolinux-std --relver=4.0alpha

Note that I had to add some more lines to conf/buildtool.conf

Comments, questions, bug reports, enhancement requests are all welcome.

There is some documentation at
https://sourceforge.net/apps/mediawiki/leaf/index.php?title=Bering-uClibc_4.x_-_Developer_Guide_-_Building_an_Image
though I need to update that with examples of the configuration file
syntax.

davidMbrooke


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to