From bcac0cb2c3814ab3b807f23999da658ec0cbcd80 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 2 Oct 2002 17:34:28 +0000 Subject: 2002-10-02 Eric Norum * rtems/mkrootfs.c: As part of PR283, remove redundant code that creates /etc/passwd and /etc/group. --- cpukit/libnetworking/ChangeLog | 5 +++++ cpukit/libnetworking/rtems/mkrootfs.c | 15 --------------- 2 files changed, 5 insertions(+), 15 deletions(-) (limited to 'cpukit') 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 + + * rtems/mkrootfs.c: As part of PR283, remove redundant code that + creates /etc/passwd and /etc/group. + 2002-09-16 Joel Sherrill * 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 @@ -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. -- cgit v1.2.3