[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Overriding Configuration Files



Hello,

I am in a situation where I want to switch image formats and
bootloaders relatively frequently; ideally, I would like to do this
without editing the configration files every time.

Right now, I have solved the issue by changing the definitions of the
variables to only assign them conditionally, e.g.:
  if [ -z $LH_BINARY_IMAGES ]; then LH_BINARY_IMAGES="iso"; fi
in conf/binary; I can then call something like
  LH_BINARY_IMAGES="usb-hdd" lh_build
to override the image format.

It seems like a somewhat kludgy way to do that. Is there a more
elegant way for doing something like that?

Thanks,
 -Juergen
(still typing from a Debian Live system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070816/b2493b76/attachment.pgp 


Reply to: