Date: Tue, 06 Feb 1996 15:12:07 -0800 From: John Polstra <jdp@polstra.com> To: freebsd-ports@freebsd.org Subject: No more PLIST size limits in pkg_create Message-ID: <199602062312.PAA19412@austin.polstra.com>
next in thread | raw e-mail | index | archive | help
Those of you who are working on ports with large PLIST files might want to grab the new version of pkg_create that I committed today. In the previous version of pkg_create, all of the filenames from the PLIST file were passed to tar on its command line. Since there is a kernel limit on the total number of argument characters (usually 64K), pkg_create would blow up if the PLIST file was too large. The symptom was the message, "Failed to execute tar command!". The new version passes the filenames and "@cwd" directives to tar through a pipe, using tar's "-T" option. That keeps the tar command line quite short, regardless of the size of the PLIST file. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602062312.PAA19412>