[meta-virtualization] [meta-cloud-services][PATCH] dhcp: fix build error

Bruce Ashfield bruce.ashfield at gmail.com
Fri Jun 19 12:26:12 PDT 2015


On Fri, Jun 19, 2015 at 1:04 AM, Bian Naimeng <biannm at cn.fujitsu.com> wrote:
> dhcp in oe-core has been upgrade to 4.3.2, so the following error will be caught.
>
>  ERROR: No recipes available for:
>    /yocto/meta-cloud-services/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend


merged to branches master and fido-kilo.

Bruce

>
> Signed-off-by: Bian Naimeng <biannm at cn.fujitsu.com>
> ---
>  recipes-connectivity/dhcp/dhcp_%.bbappend     | 16 ++++++++++++++++
>  recipes-connectivity/dhcp/dhcp_4.3.1.bbappend | 16 ----------------
>  2 files changed, 16 insertions(+), 16 deletions(-)
>  create mode 100644 recipes-connectivity/dhcp/dhcp_%.bbappend
>  delete mode 100644 recipes-connectivity/dhcp/dhcp_4.3.1.bbappend
>
> diff --git a/recipes-connectivity/dhcp/dhcp_%.bbappend b/recipes-connectivity/dhcp/dhcp_%.bbappend
> new file mode 100644
> index 0000000..a23f7c9
> --- /dev/null
> +++ b/recipes-connectivity/dhcp/dhcp_%.bbappend
> @@ -0,0 +1,16 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> +
> +SRC_URI += "file://dhclient-exit-hooks \
> +           "
> +
> +do_install_append () {
> +       install -m 0644 ${WORKDIR}/dhclient-exit-hooks ${D}${sysconfdir}/dhcp/dhclient-exit-hooks
> +       sed 's%/etc/dhclient-exit-hooks%/etc/dhcp/dhclient-exit-hooks%g' -i ${D}${base_sbindir}/dhclient-script
> +
> +       sed 's%request .*%\noption classless-static-routes code 121 = array of unsigned integer 8;\n\n&%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
> +       sed 's%netbios-name-servers,.*netbios-scope;%netbios-name-servers, netbios-scope, classless-static-routes;\n%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
> +
> +}
> +
> +FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
> +                     "
> diff --git a/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend b/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend
> deleted file mode 100644
> index a23f7c9..0000000
> --- a/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> -
> -SRC_URI += "file://dhclient-exit-hooks \
> -           "
> -
> -do_install_append () {
> -       install -m 0644 ${WORKDIR}/dhclient-exit-hooks ${D}${sysconfdir}/dhcp/dhclient-exit-hooks
> -       sed 's%/etc/dhclient-exit-hooks%/etc/dhcp/dhclient-exit-hooks%g' -i ${D}${base_sbindir}/dhclient-script
> -
> -       sed 's%request .*%\noption classless-static-routes code 121 = array of unsigned integer 8;\n\n&%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
> -       sed 's%netbios-name-servers,.*netbios-scope;%netbios-name-servers, netbios-scope, classless-static-routes;\n%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
> -
> -}
> -
> -FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
> -                     "
> --
> 1.8.4.2
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list