softupdate bug

David Hausheer hausheer at tik.ee.ethz.ch
Sun Oct 23 17:42:09 CEST 2005


Hi,

There seems to be a bug in the softupdate task (more specifically in the 
savelog task during a softupdate) in that the file $diskvar, which is 
not created during a softupdate, is attempted to be copied to 
$target/var/log/fai which results in an error.

I was able to circumvent that bug by adding the following softupdate 
hook, which simply copies the diskvar file from the last installation to 
$diskvar:

[ -f "$diskvar" ] || [ -s "$target/etc/fai/disk_var.sh" ] && cp -p 
$target/etc/fai/disk_var.sh $diskvar

Cheers,
David



More information about the linux-fai mailing list