Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7287FE00D94; Fri, 20 Sep 2019 03:32:01 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high * trust * [192.55.52.93 listed in list.dnswl.org] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4B01AE00D82 for ; Fri, 20 Sep 2019 03:32:00 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2019 03:31:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,528,1559545200"; d="scan'208";a="181769196" Received: from creinhar-mobl.ger.corp.intel.com (HELO blackadder.local) ([10.249.39.119]) by orsmga008.jf.intel.com with ESMTP; 20 Sep 2019 03:31:58 -0700 To: yocto@yoctoproject.org References: <95510d56aa07485880b99348ab9a9f89@in.bosch.com> From: Ross Burton Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Message-ID: <591be470-53d0-a16b-06b9-6b93fb945d1b@intel.com> Date: Fri, 20 Sep 2019 11:31:57 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <95510d56aa07485880b99348ab9a9f89@in.bosch.com> Subject: Re: Auto-remove empty package from rootfs X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 10:32:01 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit On 20/09/2019 07:12, Vignesh Rajendran (RBEI/ECF3) wrote: > Hello All, > > I have a feeling that the empty packages are really not useful inside > rootfs/sysroot either dependency with other packages, isn’t it? > > Is there already a way in Yocto to remove/avoid empty packages from rootfs? An empty package by definition doesn't have any impact on the rootfs, because it's empty. The majority of empty packages are used for their dependency management: package groups are just empty packages which have dependencies. If you know of any empty packages which have no dependencies, feel free to submit a patch to remove them from the metadata. Ross