Hi,

Here's my experience on upgrade to 5.5:

 1.  I had a preinst in sources.list that used 'envsubst' to replace strings like 
"${some_variable}" from the environment
 2.  After upgrade, source.list are copied with fcopy -S, which will replace strings like 
"{%some_variable%}" from the environment and ignores preinst script.
 3.  It took considerable time looking over sources in order to understand what 
happened here.

Here's my two cents:

 1.  I think there's fcopy document needed about the -S option and the expected 
syntax for substitutions (maybe I've missed this).
 2.  It seems reasonable to do other things than variable substitution in 
preinst script.  Couldn't FAI continue to execute preinst after -S 
substitutions so that 5.5 is not a breaking change in this issue? (I've not 
thought through the complications that you might have spotted here).

Chris.
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

Reply via email to