diff options
author | Jan Lübbe <jluebbe@debian.org> | 2009-09-10 15:18:38 +0000 |
---|---|---|
committer | Jan Lübbe <jluebbe@debian.org> | 2009-09-18 08:04:41 +0000 |
commit | 6d66985c2607f4026671c9efdb40716aa1b33f0b (patch) | |
tree | 093f9efa6e90793705394a796c5d985ea250050a | |
parent | 6063eff6c64831b2e9834d505b641342d7b292d8 (diff) |
aufs2-util: add recipe for userspace tools
-rw-r--r-- | conf/distro/include/sane-srcrevs.inc | 1 | ||||
-rw-r--r-- | recipes/aufs/aufs2-util_git.bb | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 8c6737c938..956e1fbe22 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -17,6 +17,7 @@ SRCREV_pn-alsa-scenario ?= "8bd7f83d847424eb44704cf1649974b2fda8d8f1" SRCREV_pn-app-restarter ?= "4552" SRCREV_pn-assassin ?= "268" SRCREV_pn-assassin-thumbnail ?= "4690" +SRCREV_pn-aufs2-util ?= "f35ba2292fe40aa94aa83713e0b2719f35a25768" SRCREV_pn-bfin-uclibc ?= "1857" SRCREV_pn-bootchart-lite ?= "4" SRCREV_pn-bubble-keyboard ?= "194" diff --git a/recipes/aufs/aufs2-util_git.bb b/recipes/aufs/aufs2-util_git.bb new file mode 100644 index 0000000000..deb5c6005e --- /dev/null +++ b/recipes/aufs/aufs2-util_git.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "userspace utils for aufs2" +LICENSE = "GPL" +DEPENDS = "virtual/kernel" +PR = "r1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "git://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git;protocol=http" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} DESTDIR=${D}" + +do_compile () { + # c2tmac and c2sh need to be BUILD-arch + ${BUILD_CC} -I${STAGING_KERNEL_DIR}/include c2tmac.c -o c2tmac + ${BUILD_CC} -I${STAGING_KERNEL_DIR}/include c2sh.c -o c2sh + oe_runmake +} + +do_install () { + install -d ${D}/${base_sbindir} + install -m 0755 mount.aufs umount.aufs auplink ${D}/${base_sbindir} + install -d ${D}/${base_bindir} + install -m 0755 auchk aubrsync ${D}/${base_bindir} + install -d ${D}/${sysconfdir}/default + install -m 0644 -T etc_default_aufs ${D}/${sysconfdir}/default/aufs +} |