Commits

stacklet committed 1064bba

Tweak to initrd search

Comments (0)

Files changed (1)

src/stacklet/task/image/kernel.py

                     initrd = 'initrd-' + vers
                 elif os.access(buildContext.mountPoint + '/boot/initrd', os.F_OK):
                     initrd = 'initrd'
-
+                elif os.access(buildContext.mountPoint + '/boot/initrd.gz', os.F_OK):
+                    initrd = 'initrd.gz'
 
                 if not self.is_empty(self._grubConfig):
                     grubLines = list()