From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6545822013293854720 X-Received: by 10.46.137.2 with SMTP id d2mr291330lji.44.1524121832522; Thu, 19 Apr 2018 00:10:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.144.72 with SMTP id n8ls480197ljg.6.gmail; Thu, 19 Apr 2018 00:10:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4868gLzxRY2tNHtaTDYEQpU35duh1X+09f80ca2kxSFZxCYudOL7flM3DCT8c7WzsGGXm6p X-Received: by 10.46.153.5 with SMTP id v5mr278657lji.2.1524121832015; Thu, 19 Apr 2018 00:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524121831; cv=none; d=google.com; s=arc-20160816; b=qbiZ/YOpz+E9BYy8mWyWgDMR+4ThSM1GE/Hh2YmFjpWOcdB0H8Pjy7Z37n0t1Zr1Wb RqZEic872Wf7c+mqfQx4j7pMfdeCuws8f6hnuenkEIMG/nTurjKV8xUTsUhoEjEKxRUW Vd344KIFGKQuhtIG/UAZI8+FjERTtPSSDNcBRBu7Z2aXVtdRSR7jeFzQlC0+DSsUk91b +n5gjggLwjq4/4Ko6OC1lm6VVankhz3NGQdVhFGePaKdXaylpAPmIxKJiBtEbAfHqnXd CPTz9uvicJV0B62DK4ASQ/ugDzoxD0sBqFe36IvBXyBBcXF6nhww7Yn2yYNfQnb8U5jp WoMA== 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:cc:to:subject :arc-authentication-results; bh=Gcszt/JrgBZLHXg3fOjXGCRHUFhDaCk+lMrSk6ozr/M=; b=OllUEZBTsF7RKl6eak0oouwagiHg3zj+mMf3oHOAmsnsbvvQ6VkPGswiQ1s5bv0Xjy Qw1n5cE6VcaRfKkdyb2+R1/FjS+n1qMSd3AKKtZsRJb8jS3V0q7sDXbZMt5ZejOmjJbt PaJ+dQn2xXDtpBjrbuLkwgAHNIziFfOasSvaY8UbeWqhW1i5GU0p+hXwHdYprW7AU52u FC5W5y7CWunRY5JIce2GzKobpi4TNuESooXX7PTF+rQVw0PhqtG3DdSanpgNHCRiza1f oY9AaSSmw3/dtIXOn2fcaBT31gNmDOrzpOuA0pkDiLc2ZID8hsSmut+/Nhk758tXUPFF X9vw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id u16si99499ljg.4.2018.04.19.00.10.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 00:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id w3J7ALM9031757 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Apr 2018 09:10:22 +0200 Received: from [139.25.69.226] (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id w3J7ALMx002303; Thu, 19 Apr 2018 09:10:21 +0200 Subject: Re: Install debian packages from other sources To: Henning Schild , Francesco Cc: isar-users@googlegroups.com References: <0fffdaa3-e4d6-90bd-d98f-5cd0e745ad25@dave.eu> <20180418202656.13f57c11@mmd1pvb1c.ad001.siemens.net> From: Claudius Heine Message-ID: <6d4e88d9-4a5e-20dd-083e-e28009f13beb@siemens.com> Date: Thu, 19 Apr 2018 09:10:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180418202656.13f57c11@mmd1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: pAKwTSrq4FL3 Hi, On 2018-04-18 20:26, Henning Schild wrote: > Hi, > > you can do two things. You can actually go ahead and just fetch .deb > files from somewhere in a package-recipe. Or you could derive and > image-recipe from isar-image-base where you add another sources.list > file to DISTRO_APT_SOURCES. Yes 'DISTRO_APT_SOURCES' is the right variable, but setting it in an image recipe doesn't do anything. You have to expand it in a *.conf file or in a isar-bootstrap.bbappend file. Personally I would create a new configs like this: conf/distro/custom.conf: require conf/distro/debian-stretch.conf DISTRO_APT_SOURCES += "conf/distro/custom.list" conf/distro/custom.list: deb http://url/to/repo suite component conf/multiconfig/custom-config.conf: require conf/multiconfig/qemuamd64-stretch.conf DISTRO = "custom" For just testing you could also put 'DISTRO_APT_SOURCES_append = " conf/distro/custom.list"' in the local.conf, you will also need the custom.list at the right place. Cheers, Claudius > We still lack an example for that, but Claudius might have one. > > If we are talking about a proper repo and not some random drop-location > for .debs the latter would be the way to go. > > Henning > > Am Wed, 18 Apr 2018 18:12:31 +0200 > schrieb Francesco : > >> Hello again, >> >> I would like to fetch debian packages from other repositories and >> then install them into the rootfs. >> >> Which is the right way to achieve this? >> >> Thanks >> >> Frank >> >> > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de