This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygport: Suppressing the creation of *.cygwin.patch


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]