From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95456 invoked by alias); 4 Apr 2016 14:42:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 95442 invoked by uid 89); 4 Apr 2016 14:42:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=genmultilib, CentOS, noticeably, frankly X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 04 Apr 2016 14:42:36 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DBD5B7F096 for ; Mon, 4 Apr 2016 14:42:34 +0000 (UTC) Received: from [10.3.113.124] (ovpn-113-124.phx2.redhat.com [10.3.113.124]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u34EgYtu027391 for ; Mon, 4 Apr 2016 10:42:34 -0400 Subject: Re: How to install a custom permanent postinstall handler? To: cygwin@cygwin.com References: <838469265.20160401235308@yandex.ru> <87a8lcicxg.fsf@Rainer.invalid> <5700975A.3070002@cygwin.com> <87y48vqkfx.fsf@Rainer.invalid> <57015B97.3010401@cygwin.com> <1564992119.20160404020533@yandex.ru> <57020525.90909@cygwin.com> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <57027D59.5080509@redhat.com> Date: Mon, 04 Apr 2016 14:42:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <57020525.90909@cygwin.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2" X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00062.txt.bz2 --IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1273 On 04/04/2016 12:09 AM, Yaakov Selkowitz wrote: > On 2016-04-03 18:05, Andrey Repin wrote: >> Because, within my reach, Cygwin is the only system that not using >> DASH as >> /bin/sh. Though, I may try rolling some busybox=E2=80=A6 >=20 > There *is* a world outside of Debian/Ubuntu; Fedora, RHEL/CentOS, and > Arch Linux all use bash for /bin/sh. However, a simple test in the form > of building GCC with dash as /bin/sh, while noticeably faster, showed > that Debian/Ubuntu have yet to fully upstream their work > ("gcc/genmultilib: 261: shift: can't shift that many"). And non-Linux systems use a completely different shell for /bin/sh (neither dash nor bash; BSD systems tend to use mksh). >=20 > As much as the speed difference is promising (and frankly tempting), I'm > afraid we simply don't have the resources to fix everything to work with > dash as /bin/sh. That's why the alternatives would default to cygwin using bash as /bin/sh, and anyone flipping the alternative to dash is on their own if things break (or better, can help submit patches upstream to the multiple places that are broken by using non-POSIX constructs in scripts run by /bin/sh). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXAn1ZAAoJEKeha0olJ0NqcaAH+wVPbL26WAwMmeoofa2UkZzj g6sOTn+eXtzDfSD+eNFXLKKTtv4nc+itZwiqP28P3AY6m5jmDiWR/cjLYzB0g/Jk LXGnXLk237krgn4vd4Bx/aNpjqzPYEgZ+FgQ5rPSiysLFcSSlBUcsM8XilAVE1Tm wrbvxkxLe8MQD8lnzD1MTlEuH2J/k0koPQyT0/E5TJwSZzKOKJiBwuAHX2K+ozZQ BUvDKxbUBTo6PPm1g9iH49Xgb069/7IpmONiEAdGeRkuI1L9vBYfIhhJ3Cbwln4r y96sZp31vBMTgy6k4OzNjz7KuHUr7yjZyGnqVXhrJjOHHd1Nzt6EYrTfQgh4eMk= =WbMw -----END PGP SIGNATURE----- --IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2--