[arch-projects] [PATCH 1/2] functions: reduce calls to modinfo