GoogleCloudPlatform/compute-image-tools

EL: Always call depmod

Closed this issue · 1 comments

Right now we call depmod for EL 8. Based on #1139, we should call it for EL 7, and perhaps for EL 6 as well.

@EricEdens, here's a permalink, before it runs away (the one in ticket is already off by 10 or so lines):

if el_release == '8' and not g.exists(
os.path.join('/lib/modules', kver, 'modules.dep')):
g.command(['depmod', kver])