diff options
author | Colin Guthrie <colin@mageia.org> | 2013-11-02 15:31:03 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-11-02 15:31:03 +0000 |
commit | 45f2ab87fb19afc8de91c47f2ad103721a20b24c (patch) | |
tree | 9439c69f224e4cd9e5318e492c3fa1699b20077f | |
parent | addfd6769673ba661498183a220769144f758f5a (diff) | |
download | drakx-45f2ab87fb19afc8de91c47f2ad103721a20b24c.tar drakx-45f2ab87fb19afc8de91c47f2ad103721a20b24c.tar.gz drakx-45f2ab87fb19afc8de91c47f2ad103721a20b24c.tar.bz2 drakx-45f2ab87fb19afc8de91c47f2ad103721a20b24c.tar.xz drakx-45f2ab87fb19afc8de91c47f2ad103721a20b24c.zip |
images: Ensure initrd is created with 644 perms (normally 600 for security reasons)
-rw-r--r-- | images/NEWS | 1 | ||||
-rwxr-xr-x | images/make_boot_img | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS index bdb7d0f16..507525b24 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,4 @@ +- ensure initrd is created with 644 perms (normally 600 for security reasons) - fix 32-bit isolinux wrapper (s/i586/i386) Version 1.95 - 2 November 2013 by Colin Guthrie diff --git a/images/make_boot_img b/images/make_boot_img index 5325d2cf6..ed4c5baec 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -162,7 +162,8 @@ sub initrd { mkdir_p("build/dracut.conf.d"); # TODO if --nofscks and --no-hostonly are switched, dracut gives an error - fix or report upstream - __ "DRAKX_STAGE1_BINARY=$stage1_binary DRAKX_INIT_BINARY=$init_binary dracut --conf dracut.conf --confdir ./build/dracut.conf.d --add ' $modules ' --add-drivers ' $drivers ' '$img' '$kernel'" + __ "DRAKX_STAGE1_BINARY=$stage1_binary DRAKX_INIT_BINARY=$init_binary dracut --conf dracut.conf --confdir ./build/dracut.conf.d --add ' $modules ' --add-drivers ' $drivers ' '$img' '$kernel'"; + chmod(0644, $img); } |