Commits

Michał Górny committed 3efffaf

Strip .img suffix from initramfses.

  • Participants
  • Parent commits eca88d5

Comments (0)

Files changed (1)

File ecleankernel/kernel.py

 			kv = m[len(g):]
 			if cat == 'modules' and m in paths:
 				continue
+			elif cat == 'initramfs' and kv.endswith('.img'):
+				kv = kv[:-4]
+
 			path = paths[m]
 			newk = kernels[kv]
 			try: