class arithmetic?

Thomas Lange lange at informatik.Uni-Koeln.DE
Wed Nov 29 11:50:27 CET 2006


>>>>> On Wed, 29 Nov 2006 09:08:21 +0100, Steffen Grunewald <steffen.grunewald at aei.mpg.de> said:

    > is it possible to *remove* classes, or define new ones depending on 
    > existing ones?
No and Yes.

No, you can't remove a class. Yes, you could define a class depending
on another class. We do this in 50-host-classes:

(ifclass I386 || ifclass AMD64) && echo GRUB 

But I always recommend to let classes be a simple ordered list. If you
start a hierachy of classes with a sort of inheritance, you will lost
the overview and will not understand which classes will influence
which part of the intsallation.

KISS: Keep it simple and stupid!
-- 
regards Thomas



More information about the linux-fai mailing list