On Sun, 2019-06-23 at 16:15 +0300, Adi Malca wrote: > Hello, > > I'm looking for the current official OPKG spec with spelling and case > sensitive. > For example: > Package: > Version: > Description: > Section: > Priority: > Maintainer: > License: > Architecture: > OE: > Homepage: > Depends: > Source: > Filename: > SHA1: > SHA256: > > Best Regards, > Adi
I'm not sure if there is an official spec somewhere, but the structure of the packages and server index files can be seen in the code. The main opkg utility is here: http://git.yoctoproject.org/cgit/cgit.cgi/opkg/ The helper scripts are also useful: http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/ You can see the structure of the metadata you mention, including spelling, capitalization, etc, here: http://git.yoctoproject.org/cgit/cgit.cgi/opkg/tree/libopkg/pkg.c#n552 You can also see it here (perhaps more concisely): http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/tree/opkg.py#n491 The Packages and Packages.gz index files use these variables. For example, this is what shows up in the index for busybox on one of my builds: Package: busybox Version: 1.30.1-r0 Depends: libc6 (>= 2.29), update-alternatives-opkg Recommends: busybox-udhcpc Section: base Architecture: armv7vet2hf-neon Maintainer: Poky <p...@yoctoproject.org> MD5Sum: c0b45a09adec305b49153133a3392917 Size: 315406 Filename: busybox_1.30.1-r0_armv7vet2hf-neon.ipk Source: busybox_1.30.1.bb Description: Tiny versions of many common UNIX utilities in a single small executable OE: busybox HomePage: http://www.busybox.net License: GPLv2 & bzip2 Priority: optional Packages can also use SHA256 rather than MD5. Package: busybox Version: 1.30.1-r0 Depends: libc6 (>= 2.29), update-alternatives-opkg Recommends: busybox-udhcpc Section: base Architecture: armv7vet2hf-neon Maintainer: Poky <p...@yoctoproject.org> SHA256sum: 3ca8d2dd79759fa34bf04a0ee97fef5e354d97da76b03672544f3c4eeef76ac9 Size: 315406 Filename: busybox_1.30.1-r0_armv7vet2hf-neon.ipk Source: busybox_1.30.1.bb Description: Tiny versions of many common UNIX utilities in a single small executable OE: busybox HomePage: http://www.busybox.net License: GPLv2 & bzip2 Priority: optional I'm not sure if anyone has any package feeds built by Yocto publicly available, but OpenWRT uses opkg as well, with public feeds available. For example: https://downloads.openwrt.org/releases/18.06.2/packages/aarch64_cortex-a53/base/ Robert -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto