Set permissions on the initrd (#863018)

Dracut now makes the initrd with 600 permissions
for security reasons. These reasons do not apply
to install images, and we want the other tools
that use lorax to be able to read the initrd file.
This commit is contained in:
Martin Gracik 2012-10-08 12:35:00 +02:00
parent b3cc5a7a45
commit 91afe5883f

View File

@ -302,6 +302,7 @@ class LoraxTemplateRunner(object):
Same as installkernel, but for "initrd".
'''
self.install(src, dest)
self.chmod(dest, '644')
self.treeinfo(section, "initrd", dest)
def hardlink(self, src, dest):