Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC114CEF14F for ; Tue, 8 Oct 2024 10:54:30 +0000 (UTC) Subject: Re: [yocto] Does yocto recipe support fetching from SRC_URC as ipk pakage? To: "Yoann Congal" , yocto@lists.yoctoproject.org From: "salahaldeen.altous@yahoo.com" X-Originating-Location: Ankara, TR (176.232.20.207) X-Originating-Platform: Linux Firefox 126 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 08 Oct 2024 03:54:27 -0700 References: In-Reply-To: Message-ID: <11278.1728384867629046470@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="3O5E5S0j6gpiqk65YBDO" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 08 Oct 2024 10:54:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/63967 --3O5E5S0j6gpiqk65YBDO Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, Oct 8, 2024 at 02:36 AM, Yoann Congal wrote: >=20 >=20 >=20 > Le=C2=A0mar. 8 oct. 2024 =C3=A0=C2=A011:27, salahaldeen.altous@yahoo.com = via lists.yoctoproject.org > ( http://lists.yoctoproject.org ) > a =C3=A9crit=C2=A0: >=20 >> Hi All, >>=20 >> I have one request from one custom to fetch the recipe from ipk package, >> is this recommended? >> Does any one tested fetching from ipk? >>=20 >> the recipe looks like this >>=20 >> SRC_URI =3D " http://your-server-url/path/to/package.ipk " >> # Fetches the IPK and unpacks it >> do_unpack[depends] +=3D "opkg-native:do_populate_sysroot" >> S =3D "${WORKDIR}" >>=20 >> # Install the package using opkg >> do_install() { >> opkg-cl -o ${D} install ${WORKDIR}/package.ipk >> } >>=20 >=20 >=20 > This looks like the bin_package class: > https://git.yoctoproject.org/poky/plain/meta/classes-recipe/bin_package.b= bclass >=20 > https://docs.yoctoproject.org/ref-manual/classes.html#bin-package >=20 > Have you found/looked into it? >=20 This looks similar, I will check it. Regards, Salahaldeen >=20 >=20 >=20 >=20 >>=20 >> Regards, >> Salahaldeen >>=20 >>=20 >>=20 >=20 >=20 >=20 >=20 > -- > Yoann Congal > Smile ECS - Tech expert >=20 > --3O5E5S0j6gpiqk65YBDO Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Tue, Oct 8, 2024 at 02:36 AM, Yoann Congal wrote:
 

Le mar. 8 oct. 2024 à&nbs= p;11:27, salahaldeen.altous= @yahoo.com via lists.yoctopro= ject.org <salahaldeen.altous=3Dyahoo.com@lists.yoctoproject.org> a écrit = ;:
Hi All,

I have one request from one custom to fetch the rec= ipe from ipk package, is this recommended?
Does any one tested fetchin= g from ipk?

the recipe looks like this

# Fetches the IPK and unpacks it
do_unpack[depends] +=3D "opkg-na= tive:do_populate_sysroot"
S =3D "${WORKDIR}"

# Install the package using opkg
do_install() {
 =   opkg-cl -o ${D} install ${WORKDIR}/package.ipk
}
 
This looks like the bin_package class: 
 
Have you found/looked into it?
This looks similar, I will check it.

Regards,
Salahaldeen
 
 

Regards,
Salahaldeen




-- =
Yoann Conga= l
Smile ECS - Tech expert=
--3O5E5S0j6gpiqk65YBDO--