Subject: misc/1711: snapshot missing usr/libdata
To: None <gnats-bugs@gnats.netbsd.org>
From: Arne Henrik Juul <arnej@imf.unit.no>
List: netbsd-bugs
Date: 11/01/1995 14:18:34
>Number:         1711
>Category:       misc
>Synopsis:       snapshot missing usr/libdata
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov  1 07:35:04 1995
>Last-Modified:
>Originator:     Arne H. Juul
>Organization:
	University of Trondheim, Norway
>Release:        NetBSD-current oct 31
>Environment:
	
System: NetBSD leon.imf.unit.no 1.1_ALPHA NetBSD 1.1_ALPHA (LEON) #0: Fri Oct 20 14:44:48 MET 1995 arnej@leon.imf.unit.no:/usr/src/sys/arch/i386/compile/LEON i386


>Description:
	When making a snapshot (as .tar.gz files), usr/libdata isn't
	included.  Since we're all making lots of snapshots for 1.1
	this is a problem.
>How-To-Repeat:
	cd /usr/src/etc; make snapshot
>Fix:
	Apply this patch to make usr/libdata part of the usr.misc.tar.gz
	file.

--- etc/Makefile.orig	Wed Oct 11 12:29:47 1995
+++ etc/Makefile	Wed Nov  1 13:11:33 1995
@@ -132,8 +132,8 @@
 	cd ${DESTDIR} && tar cf - usr/lib | gzip -9 > snapshot/usr.lib.tar.gz
 	cd ${DESTDIR} && tar cf - usr/libexec | gzip -9 > \
 	    snapshot/usr.libexec.tar.gz
-	cd ${DESTDIR} && tar cf - usr/mdec usr/local usr/src usr/obj | \
-	    gzip -9 > snapshot/usr.misc.tar.gz
+	cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/local usr/src \
+	    usr/obj | gzip -9 > snapshot/usr.misc.tar.gz
 	cd ${DESTDIR} && tar cf - usr/sbin | gzip -9 > snapshot/usr.sbin.tar.gz
 	cd ${DESTDIR} && tar cf - usr/share | gzip -9 > \
 	    snapshot/usr.share.tar.gz
>Audit-Trail:
>Unformatted: