[PATCH openbmc v6 05/18] initfs: Fix recipe, remove unnecessary class
Andrew Jeffery
andrew at aj.id.au
Thu Jun 23 14:33:47 AEST 2016
On Wed, 2016-06-22 at 19:30 -0500, OpenBMC Patches wrote:
> From: "Milton D. Miller II" <miltonm at us.ibm.com>
>
> Because the recipe was named with trailing part init instead
> of initfs, the package didn't match the package name requiring
> PROVIDES, RPROVIDES and other bitbake workarounds. Fix the recipe
> name to match the package removing the overly verbose packaging.
>
> Signed-off-by: Milton Miller <miltonm at us.ibm.com>
> ---
> meta-phosphor/classes/obmc-phosphor-initfs.bbclass | 4 ----
> .../{obmc-phosphor-init.bb => obmc-phosphor-initfs.bb} | 1 -
> 2 files changed, 5 deletions(-)
> delete mode 100644 meta-phosphor/classes/obmc-phosphor-initfs.bbclass
> rename meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/{obmc-phosphor-init.bb => obmc-phosphor-initfs.bb} (96%)
>
> diff --git a/meta-phosphor/classes/obmc-phosphor-initfs.bbclass b/meta-phosphor/classes/obmc-phosphor-initfs.bbclass
> deleted file mode 100644
> index de7923e..0000000
> --- a/meta-phosphor/classes/obmc-phosphor-initfs.bbclass
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# Common code for recipes that implement Phosphor OpenBMC filesystem
> -
> -RPROVIDES_${PN} += "obmc-phosphor-initfs"
> -PROVIDES += "obmc-phosphor-initfs"
> diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-initfs.bb
> similarity index 96%
> rename from meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb
> rename to meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-initfs.bb
> index 3fa88c9..f81e21d 100644
> --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb
> +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-initfs.bb
> @@ -3,7 +3,6 @@ DESCRIPTION = "Phosphor OpenBMC filesytem mount reference implementation."
> PR = "r1"
>
> inherit obmc-phosphor-license
> -inherit obmc-phosphor-initfs
>
> S = "${WORKDIR}"
> SRC_URI += "file://obmc-init.sh"
Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160623/130c0d69/attachment.sig>
More information about the openbmc
mailing list