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
This commit is contained in:
parent
1e19a6f1d9
commit
c3da6d9f13
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user