Does yocto recipe support fetching from SRC_URC as ipk pakage?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · Le mar. 8 oct. 2024 à 11:27, [email protected] via…
Hi All,
I have one request from one custom to fetch the recipe from ipk package, is this recommended?
Does any one tested fetching from ipk?the recipe looks like this
SRC_URI= "http://your-server-url/path/to/package.ipk" # Fetches the IPK and unpacks it do_unpack[depends] += "opkg-native:do_populate_sysroot" S = "${WORKDIR}"
Quoted 5 lines
# Install the package using opkg
do_install() { opkg-cl -o ${D} install ${WORKDIR}/package.ipk }
This looks like the bin_package class:
https://git.yoctoproject.org/poky/plain/meta/classes-recipe/bin_package.bbclass
https://docs.yoctoproject.org/ref-manual/classes.html#bin-package
Have you found/looked into it?
Quoted 15 lines
Regards,
Salahaldeen-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#63962):
https://lists.yoctoproject.org/g/yocto/message/63962
Mute This Topic: https://lists.yoctoproject.org/mt/108885904/4316185
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Yoann Congal Smile ECS - Tech expert
Hi,
Quoted 27 lines · Yoann Congal
Le mar. 8 oct. 2024 à 11:27, [email protected] via lists.yoctoproject.org ( http://lists.yoctoproject.org ) <salahaldeen.altous= [email protected]
Quoted 15 lines
a écrit :
Hi All,
I have one request from one custom to fetch the recipe from ipk package, is this recommended?
Does any one tested fetching from ipk?the recipe looks like this
SRC_URI= " http://your-server-url/path/to/package.ipk " # Fetches the IPK and unpacks it do_unpack[depends] += "opkg-native:do_populate_sysroot" S = "${WORKDIR}"Quoted 5 lines
# Install the package using opkg
do_install(){
opkg-cl -o ${D} install ${WORKDIR}/package.ipk
}
Quoted 7 lines
This looks like the
bin_packageclass:
https://git.yoctoproject.org/poky/plain/meta/classes-recipe/bin_package.bbclasshttps://docs.yoctoproject.org/ref-manual/classes.html#bin-package
Have you found/looked into it?
This looks similar, I will check it.
Regards,
Salahaldeen
Quoted 19 lines
Quoted 10 lines
Regards,
Salahaldeen--
Yoann Congal
Smile ECS - Tech expert