Subject: install/9689: 'make release' slightly broken in -current (on i386)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <boquist@crt.se>
List: netbsd-bugs
Date: 03/28/2000 02:47:47
>Number: 9689
>Category: install
>Synopsis: 'make release' fails due to missing directory
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: install-manager (NetBSD system installation bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 28 02:48:00 2000
>Last-Modified:
>Originator: Urban Boquist
>Organization:
Carlstedt Research & Technology AB, Sweden
>Release: NetBSD-current 2000-03-27
>Environment:
System: NetBSD iller 1.4V NetBSD 1.4V (ILLER-$Revision: 1.10 $) #0: Fri Mar 24 10:40:47 CET 2000 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
>Description:
src/etc/etc.i386/Makefile.inc adds one directory to INSTALLATION_DIRS
(originally defined in src/etc/Makefile), but it incorrectly includes
${RELEASEDIR} when doing so. This results in a created directory:
${RELEASEDIR}/${RELEASEDIR}/binary/sets/Split
>How-To-Repeat:
cd /usr/src/etc
make DESTDIR=... RELEASEDIR=... release
this will eventually fail trying to cd into ${RELEASEDIR}/binary/sets/Split.
>Fix:
Index: Makefile.inc
===================================================================
RCS file: /cvsroot/basesrc/etc/etc.i386/Makefile.inc,v
retrieving revision 1.17
diff -u -r1.17 Makefile.inc
--- Makefile.inc 2000/03/26 15:48:22 1.17
+++ Makefile.inc 2000/03/28 09:48:26
@@ -9,7 +9,7 @@
# These are for use by the bootfloppy construction tools
BUILD_KERNELS+= INSTALL INSTALL_TINY
-INSTALLATION_DIRS+= ${RELEASEDIR}/binary/sets/Split
+INSTALLATION_DIRS+= binary/sets/Split
snap_md_post:
# Build the boot floppies and install them
>Audit-Trail:
>Unformatted: