Author: gjb
Date: Wed Jul 20 22:49:33 2016
New Revision: 303119
URL: https://svnweb.freebsd.org/changeset/base/303119

Log:
  Create a /usr/home -> /home symlink for the arm images to
  avoid /usr/home confusingly being created as a directory.
  
  Reported by:  Russell Haley
  MFC after:    3 days
  Sponsored by: The FreeBSD Foundation

Modified:
  head/release/tools/arm.subr

Modified: head/release/tools/arm.subr
==============================================================================
--- head/release/tools/arm.subr Wed Jul 20 22:46:56 2016        (r303118)
+++ head/release/tools/arm.subr Wed Jul 20 22:49:33 2016        (r303119)
@@ -88,6 +88,7 @@ arm_create_user() {
                -c 'FreeBSD User' -d '/home/freebsd' -s '/bin/csh'
        chroot ${CHROOTDIR} /usr/sbin/pw -R ${DESTDIR} \
                usermod root -w yes
+       chroot ${CHROOTDIR} ln -s /home ${DESTDIR}/usr/home
 
        return 0
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to