This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: cygport: Suppressing the creation of *.cygwin.patch
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 30 Sep 2014 22:20:15 +0200
- Subject: Re: cygport: Suppressing the creation of *.cygwin.patch
- Authentication-results: sourceware.org; auth=none
- References: <542B08F6 dot 1020804 at cornell dot edu>
On 30/09/2014 21:48, Ken Brown wrote:
I've started using here documents in my .cygport files to create
postinstall scripts when necessary. But then cygport creates an
unnecessary .cygwin.patch file. I can prevent that with
cp -R ${C} ${S}/../../origsrc/${SRC_DIR}
Is there a better way to deal with this situation? Or should cygport
have a RESTRICT option for it?
Ken
file in CYGWIN-PATCHES called postinstall.sh and preremove.sh
are copied during postinstall stage as
/etc/postinstall/${PN}.sh
/etc/preremove/${PN}.sh
see __prepetc() in
/usr/share/cygport/lib/src_postinst.cygpart
Regards
Marco