Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Jan 2006 15:04:34 +0100 (CET)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91168: make distribution fails if run from src/etc
Message-ID:  <20060101140434.9765917867@palle.girgensohn.se>
Resent-Message-ID: <200601011410.k01EA4CZ070366@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91168
>Category:       ports
>Synopsis:       make distribution fails if run from src/etc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 01 14:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn <girgen@FreeBSD.org>
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Ping Pong AB
>Environment:
FreeBSD 5.4-STABLE i386
	
>Description:
When cross-installing 6.0 onto a separate partition, the UPDATING docs
say "cd src/etc ; make distribution". This will not work. cd src; make
distribution works fine, though. See discussion on
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-08/1385.html

rambutan:etc#  env MAKEOBJDIRPREFIX=/opt/obj DESTDIR=/mnt KERNCONF=WORKSTATION make distribution

cd /.a/banan/usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf  crontab csh.cshrc
csh.login csh.logout devd.conf devfs.conf  dhclient.conf disktab fbtab ftpusers gettytab group  hosts host
.allow hosts.equiv hosts.lpd  inetd.conf login.access login.conf  mac.conf motd netconfig network.subr net
orks newsyslog.conf  portsnap.conf pf.conf pf.os phones profile protocols  rc rc.bsdextended rc.firewall r
.firewall6 rc.initdiskless  rc.sendmail rc.shutdown  rc.subr remote rpc services shells  snmpd.config sysc
l.conf syslog.conf usbd.conf  etc.i386/ttys  /.a/banan/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.conf
g  /.a/banan/usr/src/etc/../usr.bin/mail/misc/mail.rc  /.a/banan/usr/src/etc/../usr.bin/locate/locate/loca
e.rc printcap /mnt/etc;  cap_mkdb -l /mnt/etc/login.conf;  install -o root -g wheel -m 755  netstart pccar
_ether rc.suspend rc.resume /mnt/etc;  install -o root -g wheel -m 600  master.passwd nsmb.conf opieaccess
/mnt/etc;  pwd_mkdb -L -p -d /mnt/etc  /mnt/etc/master.passwd
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]
*** Error code 1

Stop in /.a/banan/usr/src/etc.

>How-To-Repeat:
Follow instructions on how "To cross-install current onto a separate
partition" in src/UPDATING.


	
>Fix:

	


Index: UPDATING
===================================================================
RCS file: /home/ncvs/src/UPDATING,v
retrieving revision 1.416.2.11
diff -u -r1.416.2.11 UPDATING
--- UPDATING	22 Dec 2005 00:43:18 -0000	1.416.2.11
+++ UPDATING	1 Jan 2006 13:55:18 -0000
@@ -315,7 +315,7 @@
 	<maybe newfs current's root partition>
 	<mount current's root partition on directory ${CURRENT_ROOT}>
 	make installworld DESTDIR=${CURRENT_ROOT}
-	cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
+	make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
 	make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
 	cp /etc/fstab ${CURRENT_ROOT}/etc/fstab 		   # if newfs'd
 	<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060101140434.9765917867>