diff options
author | Glen Barber <gjb@FreeBSD.org> | 2016-07-20 22:49:33 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2016-07-20 22:49:33 +0000 |
commit | d82d5ebec61151bd21a3b7f0a1fea5d36c7e0d16 (patch) | |
tree | 4790e0c60a92cc316e153925fd804e4cad09df2b /release/tools | |
parent | f3325003d9b099360a920f300547319f611476f0 (diff) | |
download | src-d82d5ebec61151bd21a3b7f0a1fea5d36c7e0d16.tar.gz src-d82d5ebec61151bd21a3b7f0a1fea5d36c7e0d16.zip |
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
Notes
Notes:
svn path=/head/; revision=303119
Diffstat (limited to 'release/tools')
-rw-r--r-- | release/tools/arm.subr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/tools/arm.subr b/release/tools/arm.subr index 97326c4d1fb7..bc516eb4d744 100644 --- a/release/tools/arm.subr +++ b/release/tools/arm.subr @@ -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 } |