From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id ACF4AE00AE6; Mon, 21 Oct 2019 02:09:25 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED 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] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [192.55.52.151 listed in list.dnswl.org] Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 85F64E00805 for ; Mon, 21 Oct 2019 02:09:24 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2019 02:09:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,323,1566889200"; d="scan'208";a="397267365" Received: from adahiya-mobl1.gar.corp.intel.com (HELO blackadder.local) ([10.249.39.45]) by fmsmga005.fm.intel.com with ESMTP; 21 Oct 2019 02:09:23 -0700 To: yocto@yoctoproject.org References: From: Ross Burton Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Message-ID: <0be3de0b-892b-5258-e591-d4431c155a58@intel.com> Date: Mon, 21 Oct 2019 10:09:22 +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: Subject: Re: Reducing the size of the image by optimizing python 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: Mon, 21 Oct 2019 09:09:25 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit On 19/10/2019 13:45, Abhi Arora wrote: > IMAGE_INSTALL_append = " \ >     python3 \ ^^^^ This is installing "all of python". If you want to trim your Python installation then don't do that, instead determine what libraries you *actually* need and explicitly add those. Ross