From: Sascha Wildner Date: Thu, 28 Oct 2010 20:19:12 +0000 (+0200) Subject: nrelease: Add two options (dri and inet6) to the default mk.conf we supply. X-Git-Tag: v2.8.2~7^2 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/1fd4b14feeb9cdb22e8f51975a56e8cab914c469 nrelease: Add two options (dri and inet6) to the default mk.conf we supply. We use them for building the packages that go to the LiveCD. However, we don't add PKG_OPTIONS.scmgit=-scmgit-gui (used for the LiveCD's scmgit to save space). So people who want to continue using git without X11 support will need to tweak mk.conf like before. --- diff --git a/nrelease/Makefile b/nrelease/Makefile index ca78b42be1..ee46e4cda2 100644 --- a/nrelease/Makefile +++ b/nrelease/Makefile @@ -340,20 +340,23 @@ customizeiso: ${CHROOT_CMD} "cd /usr/pkgsrc/bootstrap; \ export share_dir=/usr/pkgobj/bootstrap/work/share; \ ./bootstrap --workdir /usr/pkgobj/bootstrap/work" -.if make(gui) test -e ${ISODIR}/.didbootstrap || \ echo ".ifdef BSD_PKG_MK # added by nrelease" \ >> ${ISOROOT}/usr/pkg/etc/mk.conf + test -e ${ISODIR}/.didbootstrap || \ + echo "PKG_DEFAULT_OPTIONS='dri inet6'" \ + >> ${ISOROOT}/usr/pkg/etc/mk.conf +.if make(gui) test -e ${ISODIR}/.didbootstrap || \ echo "ACCEPTABLE_LICENSES+=openmotif-license" \ >> ${ISOROOT}/usr/pkg/etc/mk.conf test -e ${ISODIR}/.didbootstrap || \ echo "ACCEPTABLE_LICENSES+=vim-license" \ >> ${ISOROOT}/usr/pkg/etc/mk.conf +.endif test -e ${ISODIR}/.didbootstrap || \ echo ".endif # added by nrelease" \ >> ${ISOROOT}/usr/pkg/etc/mk.conf -.endif test -e ${ISODIR}/.didbootstrap || sync test -e ${ISODIR}/.didbootstrap || touch ${ISODIR}/.didbootstrap #