Date: Mon, 11 Oct 2004 23:19:44 GMT From: Ryan Sommers <ryans@gamersimpact.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/72549: Use bsdtar for /rescue instead of GNU Message-ID: <200410112319.i9BNJic8029146@www.freebsd.org> Resent-Message-ID: <200410112320.i9BNKRAa071871@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410112319.i9BNJic8029146>
