[PATCH 2/2 livemedia-creator] --make-pxe-target: change permissions of regenerated initramrfs to 0644
Radek Vykydal
rvykydal at redhat.com
Tue Jan 13 11:54:52 UTC 2015
---
src/sbin/livemedia-creator | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
index a328623..87da464 100755
--- a/src/sbin/livemedia-creator
+++ b/src/sbin/livemedia-creator
@@ -608,6 +608,7 @@ def rebuild_initrds_for_live(opts, sys_root_dir, results_dir):
new_initrd_path = joinpaths(results_dir, os.path.basename(kernel.initrd.path))
shutil.move(joinpaths(sys_root_dir, outfile), new_initrd_path)
+ os.chmod(new_initrd_path, 0644)
shutil.copy2(joinpaths(sys_root_dir, kernel.path), results_dir)
os.unlink(joinpaths(sys_root_dir,"/proc/modules"))
--
1.9.3
More information about the anaconda-patches
mailing list