delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <47F1B902.9050507@cwilson.fastmail.fm> |
Date: | Mon, 31 Mar 2008 23:24:34 -0500 |
From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
User-Agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [ANNOUNCEMENT] Updated: sysvinit-2.86-2: A System-V Init Clone |
References: | <announce DOT 7ziqzhqxtg DOT fsf AT vzell-de DOT de DOT oracle DOT com> |
In-Reply-To: | <announce.7ziqzhqxtg.fsf@vzell-de.de.oracle.com> |
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 |
Dr. Volker Zell wrote: > o Switched /usr/bin/init-config to use CSIH_SCRIPT BTW, in the new init-config script: # ====================================================================== # Action! # ====================================================================== csih_enable_color color is enabled by default. By explicitly (and unconditionally) enabling it here, you defeat the purpose of this: if [ "$PROGDIR" = "/etc/postinstall" ] then csih_auto_answer="no" csih_disable_color fi if [ -n "${CONFIG_AUTO_ANSWER_NO}" ] then csih_auto_answer="no" csih_disable_color fi Which means that the setup.log.full file will contain funny characters -- IF /etc/postinstall/sysvinit invokes init-config. This brings up another point (which may obviate the previous one): In the past, /etc/postinstall/sysvinit.sh was a copy of init-config; with csih, that's not the way to do it. Instead, the postinstall script should execute init-config like this (using the variable name you chose above): export CONFIG_AUTO_ANSWER_NO=1 /usr/bin/init-config However, the new package doesn't have a post-install script at all. I wonder if you shouldn't: (1) remove the explicit csih_enable_color from init-config (2) add a postinstall script with the two lines above. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |