From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 087B6E00D18; Fri, 10 Nov 2017 00:06:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (ranshalit[at]gmail.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.82.43 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CD80DE00CE2 for ; Fri, 10 Nov 2017 00:06:22 -0800 (PST) Received: by mail-wm0-f43.google.com with SMTP id z3so885288wme.5 for ; Fri, 10 Nov 2017 00:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=r6Upu1+Jc4B4VdYLWE9RGhneqKnm1DOu7M3OeECvFls=; b=icYSwtYr/Vvn1QHXlZuiDs/R3Jy6ye05JJ04l16vxUdEGfHA3kv3MIs+AwtT1Asv/+ hO27IJy7c017ztLUSlrcu6d8c5+SkckqgpPVrY4z4kZKtgb+FjeSh6mopY6AqUPTF0nL d1QO7XmohsGfPMvzauOOjoZ4kisc4Zq5QpPGvekfzvEoQcXdkVxMZx5RE+FBkzJOTgaE SZcLaSKsGu1/2radf+r5wBuQzGu17ZGEao6OsoEKACH8CTagTPOdyNid9XRBugS3I/Hh i3yeLBunnoMvLfriXkSIZeWkP+az1WDh+jIjirZR7RY+S1mcc6BnJ5iwbQAUsdQUF53z 0YQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=r6Upu1+Jc4B4VdYLWE9RGhneqKnm1DOu7M3OeECvFls=; b=HZL31hmDIK2Y5kHeyUomCtbUG8rnWKI9OcSXKS4Kp+fA+EhNSGG5GHBG2O/mc9b27f P86VjBlH6c3rUJQ2pOKESDU6QKuor9dYArIbQwjSr5rmIEeMz7yeLRWqg9BWnOdkSWts SKCeElC4XbSvmDEn6X6wV5kTp8oY/3JVB15nLdQp/FHoyazXOccg7Er2u9qp0YDtsMrk b0MU6BqyCSMDfIoXW1lLNitsZE6gsQPzqGOFVBVMI3d/kWs1kpHZoBQgf6hDe/1GpDNB 8JvaMPvvZJHrJI+QAdNon1Ib0JvHO3oUwopV0duUBeTbsF2YoV/n7yzl+N8pp8dJ6V84 Nsvg== X-Gm-Message-State: AJaThX6u43SzxeFd5DT6VFi3T/DpyJPmlr/voiOG9l5wU6iB8jYeJhHx IfqW9Fg9FL+h4kraRFwj8kwdtTM2jxTPt26oEUA= X-Google-Smtp-Source: ABhQp+RhtS8TH/WVnFaolmxkwkXCRu2L0x3MXwlNzp6J9VdCBrxW+k1PGN4S8oC4SdEWYQOrTdDDHpLs7c2CQgd6jn4= X-Received: by 10.80.192.27 with SMTP id r27mr1408388edb.138.1510301181376; Fri, 10 Nov 2017 00:06:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.135.197 with HTTP; Fri, 10 Nov 2017 00:06:20 -0800 (PST) In-Reply-To: References: From: Ran Shalit Date: Fri, 10 Nov 2017 10:06:20 +0200 Message-ID: To: "Burton, Ross" Cc: "yocto@yoctoproject.org" Subject: Re: apt-get 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, 10 Nov 2017 08:06:24 -0000 Content-Type: multipart/alternative; boundary="94eb2c1cd14a6b81c7055d9c658d" --94eb2c1cd14a6b81c7055d9c658d Content-Type: text/plain; charset="UTF-8" If I can please ask one last on this issue: We decided to try "smart", but it seems that its mirrors list are all empty. Can you please point me as to how to fill the mirror list (I tried to search on this, but haven't found information) ? Thank you very much, Ran On Thu, Nov 9, 2017 at 5:11 PM, Ran Shalit wrote: > I now see that I have smart: > root@lec-imx6:~# smart > Usage: smart command [options] [arguments] > > I was not familiar with "smart" command before, so that is good enough. > > The image is based on fsl-image-qt5 image (lec-imx6 from adlink) > > Thanks, > Ran > > On Thu, Nov 9, 2017 at 5:01 PM, Burton, Ross > wrote: > > What release? Until recently we used smart not yum. > > > > Ross > > > > On 9 November 2017 at 14:56, Ran Shalit wrote: > >> > >> I've added in local.conf both: > >> PACKAGE_CLASSES = "package_rpm" > >> IMAGE_FEATURES += "package-management" > >> > >> Yet, I don't have yum command, only rpm command. > >> > >> Regards, > >> Ran > >> > >> On Thu, Nov 9, 2017 at 1:25 PM, Burton, Ross > >> wrote: > >> > (adding yocto@ back to CC) > >> > > >> > I don't know where you saw that but that is very wrong. > >> > > >> > Set PACKAGE_CLASSES to the package manager that you want to use. If > you > >> > want to use opkg, then PACKAGE_CLASSES should be package_ipk > (historical > >> > naming). If you want opkg to be present in the images ensure > >> > IMAGE_FEATURES > >> > contains package-management. > >> > > >> > PACKAGE_CLASSES controls what package formats are generated, and > >> > multiple > >> > are supported for flexibility and testing purposes. For real world > use > >> > there's no need to have more than one. The first entry is the package > >> > type > >> > that is actually used in the rootfs generation. > >> > > >> > package-management needs to be in IMAGE_FEATURES to both get the tools > >> > installed (opkg in your case, apt-get for dpkg, yum for rpm) and to > keep > >> > the > >> > package management database on the disk. By removing > package-management > >> > from IMAGE_FEATURES all traces of the package manager will be removed > >> > from > >> > the rootfs, which is useful if you don't want to support on-target use > >> > of > >> > the package manager. > >> > > >> > Ross > >> > > >> > On 9 November 2017 at 06:45, Ran Shalit wrote: > >> >> > >> >> Hi, > >> >> > >> >> We also consider using opkg. > >> >> > >> >> Now, I have some confusion as to how to install opkg. > >> >> I see in some documentation that it should be installed as following: > >> >> > >> >> PACKAGE_CLASSES ?= "package_rpm package_ipk" > >> >> IMAGE_INSTALL_append = " opkg " > >> >> > >> >> Does it mean there are 2 package managers active ? > >> >> How can we know which of them is active ? > >> >> > >> >> > >> >> If "?=" means that it shall be defined only if not defined > previously, > >> >> so if it is already defined as package_rpm , it might not install > >> >> package_ipk? > >> >> Doesn't it mean that "opkg" might be installed without the required > >> >> package_ipk ? > >> >> > >> >> Thank you, > >> >> Ran > >> >> > >> >> On Wed, Nov 8, 2017 at 9:26 PM, Burton, Ross > >> >> wrote: > >> >> > Set PACKAGE_CLASSES to package_deb, and then ensure IMAGE_FEATURES > >> >> > includes > >> >> > package-management. > >> >> > > >> >> > Ross > >> >> > > >> >> > On 8 November 2017 at 19:16, Ran Shalit > wrote: > >> >> >> > >> >> >> Hello, > >> >> >> > >> >> >> Is there a way to add "apt-get" command (and package manager) in > >> >> >> yocto > >> >> >> ? > >> >> >> > >> >> >> Thank you, > >> >> >> Ran > >> >> >> -- > >> >> >> _______________________________________________ > >> >> >> yocto mailing list > >> >> >> yocto@yoctoproject.org > >> >> >> https://lists.yoctoproject.org/listinfo/yocto > >> >> > > >> >> > > >> > > >> > > > > > > --94eb2c1cd14a6b81c7055d9c658d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

If I can please ask one last on this issue:=

We decided to try "smart", but it seems that = its mirrors list are all empty.=C2=A0
Can you please point me as = to how to fill the mirror list (I tried to search on this, but haven't = found information) ?

Thank you very much,
Ran



On Thu, Nov 9, 2017 at 5:11 PM, Ran Shali= t <ranshalit@gmail.com> wrote:
I now see that I have smart:
root@lec-imx6:~# smart
Usage: smart command [options] [arguments]

I was not familiar with "smart" command before, so that is good e= nough.

The image is based on fsl-image-qt5 image=C2=A0 (lec-imx6 from adlink)

Thanks,
Ran

On Thu, Nov 9, 2017 at 5:01 PM, Burton, Ross <ross.burton@intel.com> wrote:
> What release?=C2=A0 Until recently we used smart not yum.
>
> Ross
>
> On 9 November 2017 at 14:56, Ran Shalit <ranshalit@gmail.com> wrote:
>>
>> I've added in local.conf both:
>> PACKAGE_CLASSES =3D "package_rpm"
>> IMAGE_FEATURES +=3D "package-management"
>>
>> Yet, I don't have yum command, only rpm command.
>>
>> Regards,
>> Ran
>>
>> On Thu, Nov 9, 2017 at 1:25 PM, Burton, Ross <ross.burton@intel.com>
>> wrote:
>> > (adding yocto@ back to CC)
>> >
>> > I don't know where you saw that but that is very wrong. >> >
>> > Set PACKAGE_CLASSES to the package manager that you want to u= se.=C2=A0 If you
>> > want to use opkg, then PACKAGE_CLASSES should be package_ipk = (historical
>> > naming).=C2=A0 If you want opkg to be present in the images e= nsure
>> > IMAGE_FEATURES
>> > contains package-management.
>> >
>> > PACKAGE_CLASSES controls what package formats are generated, = and
>> > multiple
>> > are supported for flexibility and testing purposes.=C2=A0 For= real world use
>> > there's no need to have more than one.=C2=A0 The first en= try is the package
>> > type
>> > that is actually used in the rootfs generation.
>> >
>> > package-management needs to be in IMAGE_FEATURES to both get = the tools
>> > installed (opkg in your case, apt-get for dpkg, yum for rpm) = and to keep
>> > the
>> > package management database on the disk.=C2=A0 By removing pa= ckage-management
>> > from IMAGE_FEATURES all traces of the package manager will be= removed
>> > from
>> > the rootfs, which is useful if you don't want to support = on-target use
>> > of
>> > the package manager.
>> >
>> > Ross
>> >
>> > On 9 November 2017 at 06:45, Ran Shalit <ranshalit@gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> We also consider using opkg.
>> >>
>> >> Now, I have some confusion as to how to install opkg.
>> >> I see in some documentation that it should be installed a= s following:
>> >>
>> >> PACKAGE_CLASSES ?=3D "package_rpm package_ipk"<= br> >> >> IMAGE_INSTALL_append =3D " opkg "
>> >>
>> >> Does it mean there are 2 package managers active ?
>> >> How can we know which of them is active ?
>> >>
>> >>
>> >> If "?=3D" means that it shall be defined only i= f not defined previously,
>> >> so if it is already defined as=C2=A0 package_rpm , it mig= ht not install
>> >> package_ipk?
>> >> Doesn't it mean that "opkg" might be instal= led without the required
>> >> package_ipk ?
>> >>
>> >> Thank you,
>> >> Ran
>> >>
>> >> On Wed, Nov 8, 2017 at 9:26 PM, Burton, Ross <ross.burton@intel.com>
>> >> wrote:
>> >> > Set PACKAGE_CLASSES to package_deb, and then ensure = IMAGE_FEATURES
>> >> > includes
>> >> > package-management.
>> >> >
>> >> > Ross
>> >> >
>> >> > On 8 November 2017 at 19:16, Ran Shalit <ranshalit@gmail.com> wrote:
>> >> >>
>> >> >> Hello,
>> >> >>
>> >> >> Is there a way to add "apt-get" comman= d (and package manager) in
>> >> >> yocto
>> >> >> ?
>> >> >>
>> >> >> Thank you,
>> >> >> Ran
>> >> >> --
>> >> >> ___________________________________________= ____
>> >> >> yocto mailing list
>> >> >> yocto@= yoctoproject.org
>> >> >> https://lists.yoctoproject.<= wbr>org/listinfo/yocto
>> >> >
>> >> >
>> >
>> >
>
>

--94eb2c1cd14a6b81c7055d9c658d--