2002-10-02 Eric Norum <eric.norum@usask.ca>

* rtems/mkrootfs.c: As part of PR283, remove redundant code that
	creates /etc/passwd and /etc/group.
This commit is contained in:
Joel Sherrill
2002-10-02 17:34:28 +00:00
parent ed8c513a74
commit bcac0cb2c3
2 changed files with 5 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
2002-10-02 Eric Norum <eric.norum@usask.ca>
* rtems/mkrootfs.c: As part of PR283, remove redundant code that
creates /etc/passwd and /etc/group.
2002-09-16 Joel Sherrill <joel@OARcorp.com>
* netinet/Makefile.am, netinet/udp_usrreq.c: Back off some of

View File

@@ -310,21 +310,6 @@ rtems_create_root_fs ()
default_directories[i].mode))
return -1;
/*
* /etc/passwd, /etc/group
* Maybe needed by some tools.
*/
lines[0] = "root::0:0:root:/root:/bin/sh\n";
if (rtems_rootfs_file_append ("/etc/passwd", MKFILE_MODE, 1, lines))
return -1;
lines[0] = "root::0:root\n";
if (rtems_rootfs_file_append ("/etc/group", MKFILE_MODE, 1, lines))
return -1;
/*
* The TCP/IP stack likes this one. If DNS does not work
* use the host file.