Subject: port-i386/1181: i386 distribution kits don't build
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: John Kohl <jtk@kolvir.blrc.ma.us>
List: netbsd-bugs
Date: 07/01/1995 15:20:03
>Number:         1181
>Category:       port-i386
>Synopsis:       the i386 distribution floppy builds fail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul  1 15:20:01 1995
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        -current, June 30 1995
>Environment:
	
System: NetBSD kolvir 1.0A NetBSD 1.0A (KOLVIR) #556: Sat Jul 1 10:17:00 EDT 1995 jtk@kolvir:/u1/NetBSD-current/src/sys/arch/i386/compile/KOLVIR i386

>Description:

The distribution floppies don't build, because rm complains
about trying to remove directories when the COPY directive is executed
for certain files.

>How-To-Repeat:

Try to build install floppies with a i386-current system.

>Fix:

This should do it.  Maybe there's a better way to do the mdec stuff,
though?

===================================================================
RCS file: inst-common/RCS/list,v
retrieving revision 1.3
diff -c -r1.3 inst-common/list
*** inst-common/list	1994/10/18 21:21:39	1.3
--- src/distrib/i386/floppies/inst-common/list	1995/07/01 18:52:28
***************
*** 60,75 ****
  SPECIAL	/bin/rm dev/MAKEDEV
  
  # we need the contents of /usr/mdec (XXX)
! COPY	${DESTDIR}/usr/mdec/*	usr/mdec
  
  # various files that we need in /etc for the install
! COPY	${DESTDIR}/etc/group		etc
! COPY	${DESTDIR}/etc/master.passwd	etc
! COPY	${DESTDIR}/etc/passwd		etc
! COPY	${DESTDIR}/etc/protocols	etc
! COPY	${DESTDIR}/etc/pwd.db		etc
! COPY	${DESTDIR}/etc/services		etc
! COPY	${DESTDIR}/etc/spwd.db		etc
  
  # and the common installation tools
  COPY	${TOPDIR}/inst-common/dot.commonutils	.commonutils
--- 60,75 ----
  SPECIAL	/bin/rm dev/MAKEDEV
  
  # we need the contents of /usr/mdec (XXX)
! SPECIAL cp -r ${DESTDIR}/usr/mdec usr
  
  # various files that we need in /etc for the install
! COPY	${DESTDIR}/etc/group		etc/group
! COPY	${DESTDIR}/etc/master.passwd	etc/master.passwd
! COPY	${DESTDIR}/etc/passwd		etc/passwd
! COPY	${DESTDIR}/etc/protocols	etc/protocols
! COPY	${DESTDIR}/etc/pwd.db		etc/pwd.db
! COPY	${DESTDIR}/etc/services		etc/services
! COPY	${DESTDIR}/etc/spwd.db		etc/spwd.db
  
  # and the common installation tools
  COPY	${TOPDIR}/inst-common/dot.commonutils	.commonutils
===================================================================
RCS file: kc-common/list,v
retrieving revision 1.3
diff -c -r1.3 kc-common/list
*** kc-common/list	1995/05/12 03:33:25	1.3
--- src/distrib/i386/floppies/kc-common/list	1995/07/01 18:52:57
***************
*** 22,28 ****
  SPECIAL	/bin/rm dev/MAKEDEV
  
  # we need the contents of /usr/mdec (XXX)
! COPY	${DESTDIR}/usr/mdec/*	usr/mdec
  
  # copy the common kc-floppy tools
  COPY	${TOPDIR}/kc-common/dot.profile		.profile
--- 22,28 ----
  SPECIAL	/bin/rm dev/MAKEDEV
  
  # we need the contents of /usr/mdec (XXX)
! SPECIAL cp -r ${DESTDIR}/usr/mdec usr
  
  # copy the common kc-floppy tools
  COPY	${TOPDIR}/kc-common/dot.profile		.profile

>Audit-Trail:
>Unformatted: