diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/bin_package.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/bin_package.bbclass b/meta/classes/bin_package.bbclass index a52b75be5c..cbc9b1fa13 100644 --- a/meta/classes/bin_package.bbclass +++ b/meta/classes/bin_package.bbclass | |||
@@ -26,7 +26,10 @@ do_compile[noexec] = "1" | |||
26 | bin_package_do_install () { | 26 | bin_package_do_install () { |
27 | # Do it carefully | 27 | # Do it carefully |
28 | [ -d "${S}" ] || exit 1 | 28 | [ -d "${S}" ] || exit 1 |
29 | cd ${S} || exit 1 | 29 | if [ -z "$(ls -A ${S})" ]; then |
30 | bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S. | ||
31 | fi | ||
32 | cd ${S} | ||
30 | tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \ | 33 | tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \ |
31 | | tar --no-same-owner -xpf - -C ${D} | 34 | | tar --no-same-owner -xpf - -C ${D} |
32 | } | 35 | } |