www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_25,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <52334.97.113.81.201.1234735988.squirrel@webmail.efn.org> |
Date: | Sun, 15 Feb 2009 14:13:08 -0800 (PST) |
Subject: | [attention base-files maintainer] copying /bin files to home dir on first run of cygwin.bat |
From: | "Yitzchak Scott-Thoennes" <sthoenna AT efn DOT org> |
To: | cygwin AT cygwin DOT com |
User-Agent: | SquirrelMail/1.5.1 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
I did a base install of cygwin 1.7 (using setup-1.7.exe), and the first time I ran cygwin.bat, it gave the following: ==== Copying skeleton files. These files are for the user to personalise their cygwin experience. They will never be overwritten nor automatically updated. bash: cd: /etc/skel: No such file or directory `./addftinfo.exe' -> `/home/ysth//addftinfo.exe' `./afmtodit' -> `/home/ysth//afmtodit' ... ==== repeated for many files. Looking into it further, it seems at least this version of base-files (3.8-2) has a postinstall script that is expecting something else to have created /etc/skel before it starts copying files from /etc/defaults/etc/skel there. This is one possible fix: $ cat bf.patch --- etc/postinstall/base-files-profile.sh.orig 2009-02-15 13:50:22.779600000 -0800 +++ etc/postinstall/base-files-profile.sh 2009-02-15 13:54:16.342800000 -0800 @@ -10,6 +10,7 @@ fDest=/${f} if [ ! -e ${fDest} -a ! -L ${fDest} ]; then /bin/echo "Using the default version of ${fDest} (${fSrc})" + /bin/mkdir -p `dirname ${fDest}` /bin/touch ${fDest} /bin/cp ${fSrc} ${fDest} else -- 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 |