| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=G/2v5vHz6UMBiiAcAzjCPs+37+X5HU1JNqPkZ/dhuuFYN63nuiNK4 | |
| qGDP6KLhlGVjhT8h+wXh4ptg5brpTpVMKfDpFoTKe/YA/w3IQXd0P6M4KJL/DM1U | |
| qX1Hk0PnfKXJc4E/DVw0tI9YNNMA3rIxlIoYr6RJjICRM84T/8vuy4= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=pxUnXAjIUDictpc3hwFxlpYb1H4=; b=tdd10qJhD/pxBQkBOyJdmHM+mXzD | |
| T4geOUswsY1teD4JrONOgAGzFZ/oTgyW9a/54iX3cnaKrW7HXjBabexiNdvwK0rV | |
| bE64owdyr7Bmfa63SfEOEz+ABKVyX6T1XR1yCGwCPQpao64QNcMyEMOgeFW1UWht | |
| F56I3DSuMnno4GY= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
| X-HELO: | calimero.vinschen.de |
| Date: | Tue, 17 Feb 2015 22:39:43 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Texlive Package Problem |
| Message-ID: | <20150217213943.GD4340@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <54E38496 DOT 9020500 AT w5pny DOT com> <54E38E53 DOT 4020906 AT cornell DOT edu> <87h9uks6n1 DOT fsf AT Rainer DOT invalid> <54E39493 DOT 9090706 AT cornell DOT edu> <54E39E64 DOT 5060904 AT cornell DOT edu> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <54E39E64.5060904@cornell.edu> |
| User-Agent: | Mutt/1.5.23 (2014-03-12) |
--Qrgsu6vtpU/OV/zm
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Feb 17 15:02, Ken Brown wrote:
> On 2/17/2015 2:20 PM, Ken Brown wrote:
> >On 2/17/2015 2:02 PM, Achim Gratz wrote:
> >>Ken Brown writes:
> >>>There's no problem here. /var/lib/texmf/postinstall is used for the
> >>>new streamlined TeX Live postinstall process. The files in it are
> >>>markers indicating that something needs to be done, and they are
> >>>renamed with ".done" appended when it's done. The same thing is done
> >>>with normal postinstall files in /etc/postinstall, but I guess
> >>>cygcheck knows about them.
> >>
> >>You could create the marker files in the normal postinstall phase via
> >>script and remove them when you're done. That way they wouldn't be
> >>packaged and cygcheck would not complain if they're missing. This is
> >>however a lot less elegant unless cygport could be enhanced to provide
> >>the boilerplate wrappers for that.
> >>
> >>>I don't know if there's something I should do to avoid this problem or
> >>>if cygcheck just needs to be tweaked.
> >>
> >>That would be the other option, but I don't know how hard that would be.
> >>If it's already matching on "/etc/postinstall" to do that deed then it
> >>might be a small change to simply just check for
> >>".*/postinstall/<script>.done"
> >
> >It is already matching on /etc/postinstall; see
> >winsup/utils/dump_setup.cc:check_package_files(). Corinna, what do you
> >think?
>=20
> How's this?
>=20
> Index: dump_setup.cc
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvs/src/src/winsup/utils/dump_setup.cc,v
> retrieving revision 1.28
> diff -u -p -r1.28 dump_setup.cc
> --- dump_setup.cc 16 Sep 2013 17:01:58 -0000 1.28
> +++ dump_setup.cc 17 Feb 2015 20:00:40 -0000
> @@ -396,7 +396,7 @@ check_package_files (int verbose, char *
> if (!directory_exists (verbose, filename, package))
> result =3D false;
> }
> - else if (!strncmp (filename, "etc/postinstall/", 16))
> + else if (strstr (filename, "/postinstall/"))
> {
> if (!file_exists (verbose, filename, ".done", package))
> result =3D false;
Fine with me.
Thanks,
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--Qrgsu6vtpU/OV/zm
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBAgAGBQJU47UeAAoJEPU2Bp2uRE+gBmMP/Reclzp3NxOK66HR62wYhcsw
ekBFfckD3mayPBmy+2vzHOy+QV9Fe0UTlCT+A/a8oVkLyaFBc/1Anx6zw52fH9Ty
J+UAx4Bm/0Soo82bShA60g6U0AvJgJLP7T3RV/50ukA6mk/iwCBNLfNPnnrR6ATK
eFoNpzwLRxHieH1JhmA0VPaAUbHRqwYJnL2BVlt+0CczhAcpVgOz9OmU4fiH32qi
t3rk5lxVypz1xbpagdY0YTr8k/G/NJEmPzUWWbb2cDysuPrR6ARzK/K8nNr0uRTR
JWeGtJ13JsUHLzzgUxRFUMnVcCACbLzhZyHWG3QF0JNT0CJKQWcZe/AWEk6dH+RV
9iIaLD7Iz4L8tUkgnLnxdLeeYKHP4nYJdVXgzyrDX5iT5azeIHkFu4TikbVzD9Q+
/A3UzhW2URSL2Pk+IS5oAq97s2oF/u3uE49r0G7fyXX6lJY1IFiP6CXmCghAjpaP
73/AImK0b3ezb4MVcovN+mPwj49iBQgYmdEC/1Tb27FqiLexaRdN5S5mq/sJ9Mtl
oroTBKFo3b5hWRq8ITNuzNT4mNLYAIMiwWOol08vFNVX/rXTFG/nhiDIo2fyG4RL
rfdhduA5WRNC+wqJXkSTngi/ee9M6XTNTY1ixgTwdWUliu1Km534V8HHVe34EV12
T2mttdzmaq1ENKBENajO
=NDW5
-----END PGP SIGNATURE-----
--Qrgsu6vtpU/OV/zm--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |