Subject: NetBSD-Current sys/arch/pmax/dist scripts still use 4.4BSD pathnamess
To: None <dean@fsa.ca>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 11/22/1994 09:33:22
The pmax dist scripts still follow  some 4.4BSD  conventions:
  * The path to the dist directory on NetBSD is /sys/arch/pmax/dist,
     not /sys/pmax/dist
  * NetBSD kernels are called ``netbsd'', not ``vmunix''
  * NetBSD has mt in /bin, not in /usr/bin

These are clearly wrong for NetBSD. The following patch fixes them
to use the corresponding NetBSD pathnames.

Does NetBSD have some other, more preferred way of building
distributions?  If so I don't see any reason whatsoever to keep
src/sys/arc/pmax/dist in the NetBSD tree. But if it's there, surely it
should work...


*** src/sys/arch/pmax/dist/buildmini.orig	Mon Nov 21 14:40:37 1994
--- src/sys/arch/pmax/dist/buildmini	Tue Nov 22 09:19:20 1994
***************
*** 35,41 ****
  #	@(#)buildmini	7.3 (Berkeley) 6/10/93
  #
  
! dist=/sys/pmax/dist
  miniroot=rz1b
  minimnt=/tmp/mini
  
--- 35,41 ----
  #	@(#)buildmini	7.3 (Berkeley) 6/10/93
  #
  
! dist=/sys/arch/pmax/dist
  miniroot=rz1b
  minimnt=/tmp/mini
  
*** get	Mon May 30 04:07:43 1994
--- get.dsg	Fri Sep 16 12:22:49 1994
***************
*** 49,55 ****
  fi
  
  # copy in kernel
! cp $DISTROOT/sys/compile/GENERIC.pmax/vmunix .
  
  # create necessary directories
  DIRLIST="bin dev etc a tmp stand sbin usr usr/mdec"
--- 49,55 ----
  fi
  
  # copy in kernel
! cp $DISTROOT/sys/arch/pmax/compile/GENERIC.pmax/netbsd .
  
  # create necessary directories
  DIRLIST="bin dev etc a tmp stand sbin usr usr/mdec"
***************
*** 71,78 ****
  done
  ln sbin/restore sbin/rrestore
  
! BIN="[ cat cp dd echo ed expr ls mkdir mv pax rcp rm sh stty sync"
! UBIN="awk mt"
  for i in $BIN; do
  	cp $DISTROOT/bin/$i bin/$i
  done
--- 71,78 ----
  done
  ln sbin/restore sbin/rrestore
  
! BIN="[ cat cp dd echo ed expr ls mkdir mv pax rcp rm sh stty sync mt"
! UBIN="awk"
  for i in $BIN; do
  	cp $DISTROOT/bin/$i bin/$i
  done