[OE-core] [poky] [PATCH 07/10] recipe: add chkconfig for LSB command test

Khem Raj raj.khem at gmail.com
Thu Mar 3 20:26:38 UTC 2011


On Thu, Mar 3, 2011 at 12:02 PM, Saul Wold <sgw at linux.intel.com> wrote:
> From: Kang Kai <kai.kang at windriver.com>
>
> chkconfig is a system tool for maintaining the /etc/rc*.d hierarchy,
> and LSB command test will check 2 links point to command  chkconfig
>
> Signed-off-by: Kang Kai <kai.kang at windriver.com>
> ---
>  .../recipes-extended/chkconfig/chkconfig_1.3.49.bb |   27 ++++++++++++++++++++
>  1 files changed, 27 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb
>
> diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb
> new file mode 100644
> index 0000000..bbaba71
> --- /dev/null
> +++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.49.bb
> @@ -0,0 +1,27 @@
> +SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy"
> +
> +DESCRIPTION = "Chkconfig is a basic system utility.  It updates and queries runlevel \
> +information for system services.  Chkconfig manipulates the numerous \
> +symbolic links in /etc/rc.d, to relieve system administrators of some \
> +of the drudgery of manually editing the symbolic links."
> +
> +HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
> +
> +DEPENDS = "libnewt gettext popt"
> +
> +PR = "r0"
> +
> +SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${P}.tar.bz2"
> +SRC_URI[md5sum] = "9b5e91d25f4f3b21f4c0bdf55a721431"
> +SRC_URI[sha256sum] = "775100a9d6f70fbd8f33ed24b560b6842161fc496c21b1fc6d2aed646f9d855f"
> +
> +inherit autotools
> +
> +do_install_append() {
> +#    mkdir -p ${D}/etc/rc.d/init.d
> +#   mkdir -p  ${D}/etc/rc.d/rc{0,1,2,3,4,5,6}.d

these comments can be removed I guess.

> +    mkdir -p ${D}/etc/chkconfig.d
> +}
> --
> 1.7.1.1
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>




More information about the Openembedded-core mailing list