On Mon, Feb 09, 2009 at 01:17:08PM -0500, Victor Duchovni wrote: > On Mon, Feb 09, 2009 at 10:02:33AM -0800, Quanah Gibson-Mount wrote: > > >> You have not read "PACKAGE_README". > > > > This is really the answer. I missed this document, things should work fine > > with it. > > One minor nit in the document, it uses "xargs" to collect a file list for > "tar", but the file list may be too long for one command invocation: > > % cd INSTALL_ROOT > % rm -f SOMEWHERE/outputfile > % find . \! -type d -print | xargs tar cf SOMEWHERE/outputfile > % gzip SOMEWHERE/outputfile > > With "tar c", only the last batch of files are in the tar archive. The > command should be "tar rf" not "tar cf".
Of course you can build packages more sophisticatd than "tar", and in that case you can use the "postfix-files" file to determine which files in the install_root to include in the package, and what metadata to assign to those files (including which files need to preserve user-modified copies, ...). The "tar" variant is just an example, in practice, on most platforms, you do something more sophisiticated. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.