commit f170ef5974344c8139485bbe2a8a2cd83c9e5ea5 Author: Aaron LI <a...@aaronly.me> Date: Sat Jun 9 23:47:31 2018 +0800
initrd: Better check the created initrd before installing Improve mkinitrd.sh to check /sbin/oinit, /bin/sh and /etc/rc on the created initrd image to avoid installing a broken one. Update to use "install" to install the created initrd image to ensure user/group of root/wheel and mode of 444. (The command to remove the temporary initrd image was committed in a previous patch due to squashing.) Summary of changes: initrd/mkinitrd.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f170ef5974344c8139485bbe2a8a2cd83c9e5ea5 -- DragonFly BSD source repository