summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-02 17:34:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-02 17:34:28 +0000
commitbcac0cb2c3814ab3b807f23999da658ec0cbcd80 (patch)
tree3fcacdec4fd4726077ef8ad5337ffec1f977fe55 /cpukit
parent2002-10-02 Eric Norum <eric.norum@usask.ca> (diff)
downloadrtems-bcac0cb2c3814ab3b807f23999da658ec0cbcd80.tar.bz2
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.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/ChangeLog5
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.c15
2 files changed, 5 insertions, 15 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index 4ee34256fe..5599427955 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -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
diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c
index eff49ff9a0..de258fc813 100644
--- a/cpukit/libnetworking/rtems/mkrootfs.c
+++ b/cpukit/libnetworking/rtems/mkrootfs.c
@@ -311,21 +311,6 @@ rtems_create_root_fs ()
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.
*/