Subject: crunchgen, /rescue, PATH, and tar z
To: None <>
From: Jeremy C. Reed <>
List: tech-userlevel
Date: 11/17/2006 14:33:11
Does crunchgen have any option on prefixing the PATH with /rescue?

"/rescue/tar z" uses /usr/bin/gzip instead of /rescue/gzip. (Same with 

My userland was corrupted due to bad systinst using scratched CD.

I worked around by using "/rescue/gzcat foo | /rescue/tar xvf -"

But it would be nice if /rescue's tar can handle that automatically.

I see and OVERRIDEOBJS in src/rescue/Makefile. I haven't 
used it yet, but maybe that could be used with:

CPPFLAGS.options.c+=	-GZIP_CMD=\"${RESCUEDIR}\/gzip"
and for BZIP2_CMD also.

And src/bin/pax/options.c be modified to not redefine these.

Any comments before I do this?

Where is documented? Where is OVERRIDEOBJS documented? (Do