diff options
| -rw-r--r-- | recipes-security/samhain/samhain.inc | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc index 23bc8f5..5c0142b 100644 --- a/recipes-security/samhain/samhain.inc +++ b/recipes-security/samhain/samhain.inc | |||
| @@ -25,17 +25,14 @@ INITSCRIPT_PARAMS ?= "defaults" | |||
| 25 | 25 | ||
| 26 | PACKAGECONFIG ??= "" | 26 | PACKAGECONFIG ??= "" |
| 27 | 27 | ||
| 28 | # We have to unpack the tar ball twice to get to the source. | 28 | do_unpack_samhain() { |
| 29 | # Also as soon as OE gets the tar ball it unpacks and | 29 | cd ${WORKDIR} |
| 30 | # proceeds to apply the patches. But what you still have after | 30 | tar -xzvf samhain-${PV}.tar.gz |
| 31 | # the first unpack is another tar ball. So we do a do_unpack_extra() | 31 | } |
| 32 | # and tell OE to do the second unpack before do_patch(), otherwise | 32 | |
| 33 | # do_patch() will fail when trying to apply the patches. | 33 | python do_unpack_append() { |
| 34 | do_unpack_extra () { | 34 | bb.build.exec_func('do_unpack_samhain', d) |
| 35 | cd ${WORKDIR} | ||
| 36 | tar -xzvf samhain-${PV}.tar.gz | ||
| 37 | } | 35 | } |
| 38 | addtask unpack_extra after do_unpack before do_patch | ||
| 39 | 36 | ||
| 40 | do_configure_prepend_arm() { | 37 | do_configure_prepend_arm() { |
| 41 | export sh_cv___va_copy=yes | 38 | export sh_cv___va_copy=yes |
