adapt bootrec for sola