bin/72549: Use bsdtar for /rescue instead of GNU
Ryan Sommers
ryans at gamersimpact.com
Mon Oct 11 16:20:27 PDT 2004
>Number: 72549
>Category: bin
>Synopsis: Use bsdtar for /rescue instead of GNU
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 11 23:20:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Ryan Sommers
>Release: 6.0-CURRENT
>Organization:
>Environment:
FreeBSD blue 6.0-CURRENT FreeBSD 6.0-CURRENT #6: Tue Sep 28 16:48:13 CDT 2004 root at 192.168.0.2:/usr/obj/usr/src/sys/BLUE i386
>Description:
If WITH_GTAR isn't defined use bsdtar by default in /rescue.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/rescue/rescue/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile 16 Aug 2004 03:16:48 -0000 1.28
+++ Makefile 8 Oct 2004 20:11:51 -0000
@@ -193,7 +193,13 @@
CRUNCH_ALIAS_bzip2= bunzip2 bzcat
CRUNCH_LIBS+= -lbz2
+.if defined(WITH_GTAR)
CRUNCH_PROGS_gnu/usr.bin+= tar
+.else
+CRUNCH_PROGS_usr.bin+= tar
+CRUNCH_LIBS+= -larchive
+.endif
+
CRUNCH_PROGS_usr.bin+= vi
CRUNCH_ALIAS_vi= ex
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list