Can a hook abort a FAI install?

Andrew Ruthven andrew at etc.gen.nz
Mon Sep 15 00:29:04 CEST 2014


Hey,

Is it possible to make an install abort from within a hook? Looking at
the code it doesn't seem obvious.

I've added a hook for extrbase to check and make sure if a require
basefile is present (namely Ubuntu ones if we're building an Ubuntu
box), and if not present it'll spit an error. Ideally I'd just abort the
install.

Cheers,
Andrew



More information about the linux-fai mailing list