Merge branch 'DragonFly_RELEASE_2_8' of ssh://crater.dragonflybsd.org/repository...
[dragonfly.git] / nrelease / Makefile
index ee46e4c..d881a46 100644 (file)
@@ -380,15 +380,21 @@ customizeiso:
        rm -f ${ISOROOT}/etc/resolv.conf
        ${CHROOT_CMD} /etc/periodic/weekly/310.locate
        umount ${ISOROOT}/dev
-
-       # no iso is generated for gui builds, just img.
        #
+       # Recopy files that pkgsrc may have updated in /etc into /etc.hdd
+       #
+       cpdup ${ISOROOT}/etc/shells ${ISOROOT}/etc.hdd/shells
+       cpdup ${ISOROOT}/etc/group ${ISOROOT}/etc.hdd/group
+
+# no iso is generated for gui builds, just img.
+#
 mkiso:
 .if !make(gui)
        ( cd ${ISOROOT}; ${PKGBIN_MKISOFS} -b boot/cdboot -no-emul-boot \
                -R -J -o ${ISOFILE} \
                -V "DragonFly `${.CURDIR}/../tools/gitrev.sh | cut -c -22`" . )
 .endif
+       @exit 0
 
 mkimg:
        if [ ! -d ${IMGMNT} ]; then mkdir -p ${IMGMNT}; fi