svn commit: r303119 - head/release/tools

Glen Barber gjb at FreeBSD.org
Wed Jul 20 22:49:35 UTC 2016


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
 }


More information about the svn-src-all mailing list