diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2012-06-03 10:07:58 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2012-06-03 10:07:58 +0200 |
commit | 075e33ca803378fa42187ecf5fd44a57e061a84a (patch) | |
tree | 3e27a24788e2ca698eecca8eda99978c4239ecc0 /recipes/trdx-config/trdx-config.bb~ |
Initial commit
Diffstat (limited to 'recipes/trdx-config/trdx-config.bb~')
-rw-r--r-- | recipes/trdx-config/trdx-config.bb~ | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/trdx-config/trdx-config.bb~ b/recipes/trdx-config/trdx-config.bb~ new file mode 100644 index 0000000..ce6e1b9 --- /dev/null +++ b/recipes/trdx-config/trdx-config.bb~ @@ -0,0 +1,30 @@ +DESCRIPTION = "setup files" +LICENSE = "Public Domain" +PR = "r2" + +inherit update-rc.d + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = " file://inittab \ + file://nvrm_daemon \ + file://COPYING \ + " +LIC_FILES_CHKSUM = "file://COPYING;md5=1c3a7fb45253c11c74434676d84fe7dd" + +PACKAGES = "${PN}" + +FILES_${PN} = "/etc/* ${sysconfdir}" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEPENDS_${PN} += "update-rc.d" +RDEPENDS_${PN} += "update-rc.d" + +do_install () { + install -d ${D}/etc/init.d + install -m 0644 ${WORKDIR}/inittab ${D}/etc/ + install -m 0755 ${WORKDIR}/nvrm_daemon ${D}/etc/init.d +} + +INITSCRIPT_NAME = "nvrm_daemon" +INITSCRIPT_PARAMS = "defaults 91"
\ No newline at end of file |