From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6551704819136987136 X-Received: by 10.28.158.143 with SMTP id h137mr2322951wme.25.1525439882843; Fri, 04 May 2018 06:18:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:bb06:: with SMTP id r6-v6ls5138115wrg.11.gmail; Fri, 04 May 2018 06:18:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrjWu5T9Li0aXZrahfSjlWQk/JDzbjOpM9hTAZeIB0Tud00Oktxy/6KEXL58D1RzL1nGeNj X-Received: by 2002:adf:a114:: with SMTP id o20-v6mr2356284wro.11.1525439882349; Fri, 04 May 2018 06:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525439882; cv=none; d=google.com; s=arc-20160816; b=FMbOzaYhZ3s5L5xPcIbxY3uY9d6l0QS2wFH3NMJQADjbj1gkGlY9utwsbDcdYrot/t PxZZSzz2VxMwLB6IXJ08swa2JAEKDeaHsBfKaNPAGFq/RvEXbHWdZVlGYjT7Xf2UJRyT EJaNJL1GDG+HZrTq86szDq1fhFIkxyzOUGQtzLsF5zTLX4wayqqfmay4+pkO90UuinU7 0AvVtDoWcf82m+Dp8VCmBu+qvFBCivYBBPMi+27mhzKnbrCudv89rJr82EXvqj15OfKF pNdkUp3Xp8whm78+2+g3uFQrnchLX7iljQw60OVypDjaVPifbHFpKuvYDEiYk5xCjbZq RP0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=lOCtUCvK4mebHUmeI+OylxyS5ETVqdfpbhklEuuVzKM=; b=nm3HY9GxgoHeP3sJMhBlkqHI3aVZMWWapon00SCUkyhuWIzdxWAc5qTxo4INMMSRqp 07egdFxJQWTSOU617yH5dxpKwO4wf8ZbgU2qBu6MWcOFyyDxntAot2sTDL0/JQ3F3mka xvbE8fVHf8+gPu+VQ3hbPi/i37xOJtw+qUUJHfPtzbwxiVb2V7cV1uT+9HucdRVCvgUp Z7GgqYzqEGLobThiPpeX82MMSFG1X/2vnGfrCUVLI/tJArA8kuZnJZSPgT+wJ63KU96u q3dPtk/HmDeGwNEm2jlV8QnOBhAKg6dQ1soSzGSV5JOn4p7YQoXPad5U10KpVbLLKwMN 1yNw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id m14-v6si269788wri.3.2018.05.04.06.18.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 06:18:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w44DHooG030912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 4 May 2018 15:17:52 +0200 Subject: Re: build and install .deb package To: Francesco , isar-users@googlegroups.com References: <96b097fa-b6b4-a3a3-3264-9988029a0c94@ilbers.de> <8d0fe46e-1de6-81db-12a1-51764da65740@dave.eu> From: Alexander Smirnov Message-ID: <72c018b0-2740-04af-1baa-e2b19170d83c@ilbers.de> Date: Fri, 4 May 2018 16:17:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <8d0fe46e-1de6-81db-12a1-51764da65740@dave.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: Jt77LWQP+QcN On 05/04/2018 04:03 PM, Francesco wrote: > I tried to add the package name to the IMAGE_INSTALL variable inside my > image recipe. This returned an error: Unable to locate package > mypackage. I thought that I was doing something wrong, but I guess that > if this is the correct way, the problem is somewhere else. > Possibly I could also take a look on this, if you provide: 1. Name and path to your mypackage recipe, like: meta-isar/recipes-app/libhello/libhello.bb 2. The variables from your mypackage recipe: PN, PROVIDES. 3. The content of your conf/bblayers.conf file. 4. The full line IMAGE_INSTALL you've added. P.S. Also, am I right, that you are able to run 'bitbake mypackage' without errors? Alex > Frank > > > On 04/05/2018 14:49, Alexander Smirnov wrote: >> Hello, >> >> On 05/04/2018 03:40 PM, Francesco wrote: >>> Hello guys, >>> >>> I still have a question regarding the management of customised packages. >>> >>> I managed to create my .deb package using dpkg-raw but I would like >>> also to install it on the rootfs of my image. How can this be done? >>> >>> Adding the package to IMAGE_INSTALL variable, does  not seem to work. >>> Perhaps another recipe is required? >> >> it depends where you've added IMAGE_INSTALL. It should be visible for >> image recipe, so you have to add it to one of the following places: >> 1. Into you image recipe. If you use isar-image-base, then update file >> 'meta-isar/recipes-core/isar-image-base.bb' >> 2. Edit 'conf/local.conf' file in your build directory and add this >> line to the end. >> >> Alex >> >