nrelease - Minor fixes
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 13 Mar 2014 14:25:24 +0000 (07:25 -0700)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 13 Mar 2014 14:33:43 +0000 (07:33 -0700)
commit1c9d98d011e8feb81b9e5b37a47dff656fa89f3e
tree8d704354c1ecfbf68bedc05e987d1ff0ac0c6a8f
parent9f1b01216a394a5d97b8d4eaa4c56c449606a6fd
nrelease - Minor fixes

- Use 'reinstallkernel' to avoid leaving *.old files
  in the ISO image.
- Make sure the '/boot/kernel/kernel.BOOTP' symbolic link
  is recreated when it already exists (-f option to ln).
- Do not use '-p' to cp. In the case /etc/resolv.conf file
  has schg flag set, a later rm during nrelease would fail.

Submitted-by: YONETANI Tomokazu <y0netan1@dragonflybsd.org>
DragonFly-bug: <http://bugs.dragonflybsd.org/issues/1496>

This commit closes #1496
nrelease/Makefile