From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55487 invoked by alias); 15 Feb 2017 14:09:13 -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 55479 invoked by uid 89); 15 Feb 2017 14:09:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=sunny, lin, Lin, Sunny X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Feb 2017 14:09:02 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D4D7420905; Wed, 15 Feb 2017 09:09:00 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Wed, 15 Feb 2017 09:09:00 -0500 X-ME-Sender: Received: from [192.168.1.102] (host86-184-210-45.range86-184.btcentralplus.com [86.184.210.45]) by mail.messagingengine.com (Postfix) with ESMTPA id 768247E1DC; Wed, 15 Feb 2017 09:09:00 -0500 (EST) Subject: Re: Problem with mksetupini To: Sunny Lin , cygwin@cygwin.com References: From: Jon Turney Message-ID: <3c228f7f-8af0-fbd6-8b60-ca8d0736b264@dronecode.org.uk> Date: Wed, 15 Feb 2017 14:09:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-02/txt/msg00196.txt.bz2 On 15/02/2017 07:51, Sunny Lin wrote: > Hi all, > > I encountered a problem and hope someone here can help me through. > > I need to build a 32-bit Cygwin distribution with customized packages. > I have calm package installed. I am learning to use mksetupini to > create a setup.ini file. I use commands similar to the following but > always generate an INI file with only a header, no package information > in the file. > > mksetupini --arch x86 --inifile=setup.ini --releasearea=. > > I followed instruction in the following link and got the same result. > https://cygwin.com/package-server.html Reading over that, it looks like step 2 is in need of a bit of updating and might have led you astray. The directory you are pointing to as releasearea should contain x86/, x86_64/ and noarch/ directories, which should contain a release/ directory, which should contain the various package directories and subdirectories. If that layout isn't followed, mksetupini won't be able to find the packages and thus they won't appear in the output setup.ini Failing that, perhaps running mksetupini with the --verbose flag will give a bit more insight into what is happening? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple