script failed but no error message

Henning Sprang henning_sprang at gmx.de
Thu Sep 28 00:53:45 CEST 2006


On 9/28/06, Michael Tautschnig <tautschn at model.in.tum.de> wrote:
> [...]
> If you add a "set -vx" at the very beginning of 50-misc or run the installation
> in verbose mode (FAI_FLAGS=verbose, I think) you get all the information in
> shell.log immediately, because the value of $error will always be logged.

Yeah, thanks!

+ chroot /tmp/target hwclock --utc --systohc
error=1

I assume it has something to do with Xen, as domU's don't have a hwclock...

I'll make that line optional when the class XENU is deinfed. Maybe
interesting for the simple examples when we want to do Xen installs.
We have some more XENU stuff (from you and Henning Glawe, and I guess
I have some from xen-tools) which we should include in the examples -
that's what dirinstall is for - so we could also provide some examples
making the install "clean" and good for Xen in the end.

Henning



More information about the linux-fai mailing list