Re: Hooks being run twice (same class)

Steffen Grunewald <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
On Wed, 2021-11-17 at 15:51:17 +0100, Juri Grabowski wrote:
> Hello,
> 
> I mean you can solve this problem by using fai-deps on the end of your class definitions.

Hi Juri,

thanks for the hint, but this would mean I'd have to add *.deps files, and the risk
of sorting actually happening (although not intended) is too high.

I'll go for a bash script that parses FAI_CLASSES line by line, and removes lines
it had seen before ... thus deduplicating classes while keeping their order of first
occurrence.

Thank you,
 Steffen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.