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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=vDTxGRE1QvVW98YR 666DDpNp/V3uDIcfL0y/d6kRdC84kip3zPVn9FYn2ucRd+3x6p9Uy67f1rXD1556 jFU8EG7iNXWsUhzTwQ+Kc2DpatdcwV4s/hTV0ZkONHjDW5w02Z0fvt2AS094Bhlp +cMoDZSvJHMoevMAlxtZxDoY8Ms= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=biy2fFlaGntAaXX7FjyAjU 3gBTc=; b=N90PHk1wIpH3jo1dCmxYASWZ+hpVne5ab3za2oykP+2RQxXHWAuH/g j9nQDTlOPc2cP6qAEpcX0Bo1JWDQJfkoU3G6AG69RL9BInAWDBXMMUw+Omw+MPxl S0ijX6N3+W/nCGKJwGZRlupiEQnF95GP+HDwEyN0OrwzZX7M4ZBbc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 X-ME-Sender: Subject: Re: Problem with mksetupini To: Sunny Lin , cygwin AT cygwin DOT com References: From: Jon Turney Message-ID: <3c228f7f-8af0-fbd6-8b60-ca8d0736b264@dronecode.org.uk> Date: Wed, 15 Feb 2017 14:08:59 +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 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