Hi All,
This is the design document of "Yocto 1656 Recipe creation/import
script". Please help to review it.
Any suggestion is appreciate.
Regards,
Kai
Design documnet for Recipe creation/import script
* Purpose
The feature is from Yocto 1.2 Bug 1656. A script or similar system
that would allow you to give is an upstream URL, tarball, patch set,
package (SRPM, or debian style) and generate a recipe based on those
instructions.
Name it with bitbake-createbb, and integrate into the build system
to use the build system infrastructure that similiar with bitbake-runtask.
* Usage:
bitbake-createbb <SRC_URI> [PATCH_SRC_URI]
* Steps
1 download the source package frowm the SRC_RUI
2 get package name and version from package or tarball name.
3 get summary and description from SRPM spec file or debian control file, or
from configure files.
4 get license and license checksum.
5 get dependent packages
|-- just parse spec file or debian control file
|-- or get them by parse configure files
6 remove downloaded files
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto