Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 15:38:17 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        freebsd-stable@FreeBSD.org
Subject:   Problem using mergemaster for 10-alpha
Message-ID:  <523BE651.5030109@ShaneWare.Biz>

next in thread | raw e-mail | index | archive | help
I have setup a few machines in the past from CD installer and my current
machine started with CD install and was then updated from source.
Currently my machine runs 9.1-RELEASE-p3

Yesterday I started to setup a clean 10.0 install onto a new drive that
I can boot from to test ports building with, but had trouble running
mergemaster to get the config files into place. I manually copied the
/etc files from /var/tmp/temproot to get the system running.

The steps I used are based on the handbook upgrade steps but I don't
see any variations to do a clean install from source (I created empty
src.conf and make.conf to prevent using my current files) -

setenv TOPDIR ~/Projects/f10-test
setenv TMPTESTROOT /mnt
setenv MAKEOBJDIRPREFIX ${TOPDIR}/obj
cd ${TOPDIR}
svn co svn://svn0.us-west.FreeBSD.org/base/head src
touch make.conf
touch src.conf
setenv __MAKE_CONF ${TOPDIR}/make.conf
setenv SRCCONF ${TOPDIR}/src.conf
cd ${TOPDIR}/src
make -j4 buildworld
make -j4 buildkernel
mount /dev/da4p3 ${TMPTESTROOT}
make installkernel DESTDIR=${TMPTESTROOT}
mergemaster -p -a -m ${TOPDIR}/src -D ${TMPTESTROOT}
make installworld DESTDIR=${TMPTESTROOT}
mergemaster -a -m ${TOPDIR}/src -D ${TMPTESTROOT}



When using mergemaster with -a I get the following error


*** Creating the temporary root environment in /var/tmp/temproot
  *** /var/tmp/temproot ready for use
  *** Creating and populating directory structure in /var/tmp/temproot

install: illegal option -- l
usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                [-o owner] file1 file2
        install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                [-o owner] file1 ... fileN directory
        install -d [-v] [-g group] [-m mode] [-o owner] directory ...

   *** FATAL ERROR: Cannot 'cd' to /home/shane/Projects/f10-test/src and
install files to
       the temproot environment




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?523BE651.5030109>