diff options
Diffstat (limited to 'meta-facebook/meta-yosemite/recipes-yosemite/bic-cached/bic-cached_0.1.bb')
-rw-r--r-- | meta-facebook/meta-yosemite/recipes-yosemite/bic-cached/bic-cached_0.1.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-facebook/meta-yosemite/recipes-yosemite/bic-cached/bic-cached_0.1.bb b/meta-facebook/meta-yosemite/recipes-yosemite/bic-cached/bic-cached_0.1.bb new file mode 100644 index 0000000..ef7a15c --- /dev/null +++ b/meta-facebook/meta-yosemite/recipes-yosemite/bic-cached/bic-cached_0.1.bb @@ -0,0 +1,44 @@ +# Copyright 2015-present Facebook. All Rights Reserved. + +SUMMARY = "Bridge IC Cache Daemon" +DESCRIPTION = "Daemon to provide Bridge IC Cache information." +SECTION = "base" +PR = "r1" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://bic-cached.c;beginline=5;endline=17;md5=da35978751a9d71b73679307c4d296ec" + + +DEPENDS_append = "libbic update-rc.d-native" + +SRC_URI = "file://Makefile \ + file://setup-bic-cached.sh \ + file://bic-cached.c \ + " + +S = "${WORKDIR}" + +binfiles = "bic-cached" + +pkgdir = "bic-cached" + +do_install() { + dst="${D}/usr/local/fbpackages/${pkgdir}" + bin="${D}/usr/local/bin" + install -d $dst + install -d $bin + install -m 755 bic-cached ${dst}/bic-cached + ln -snf ../fbpackages/${pkgdir}/bic-cached ${bin}/bic-cached + install -d ${D}${sysconfdir}/init.d + install -d ${D}${sysconfdir}/rcS.d + install -m 755 setup-bic-cached.sh ${D}${sysconfdir}/init.d/setup-bic-cached.sh + update-rc.d -r ${D} setup-bic-cached.sh start 66 S . +} + +FBPACKAGEDIR = "${prefix}/local/fbpackages" + +FILES_${PN} = "${FBPACKAGEDIR}/bic-cached ${prefix}/local/bin ${sysconfdir} " + +# Inhibit complaints about .debug directories: + +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INHIBIT_PACKAGE_STRIP = "1" |