commit | 316dfdd917bec6a218f431211d28bf8df6b6fb0f | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Jun 25 12:45:53 2018 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jun 27 14:38:15 2018 -0400 |
tree | 5541073f9851f44c2bd67b4959dc776ee3c3810f | |
parent | 36acd3e888044dea2ac0b2946f15616f968388c9 [diff] [blame] |
Yocto 2.5 Move OpenBMC to Yocto 2.5(sumo) Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I5c5ad6904a16e14c1c397f0baf10c9d465594a78
diff --git a/import-layers/yocto-poky/meta/classes/bin_package.bbclass b/import-layers/yocto-poky/meta/classes/bin_package.bbclass index a52b75b..cbc9b1f 100644 --- a/import-layers/yocto-poky/meta/classes/bin_package.bbclass +++ b/import-layers/yocto-poky/meta/classes/bin_package.bbclass
@@ -26,7 +26,10 @@ bin_package_do_install () { # Do it carefully [ -d "${S}" ] || exit 1 - cd ${S} || exit 1 + if [ -z "$(ls -A ${S})" ]; then + bbfatal bin_package has nothing to install. Be sure the SRC_URI unpacks into S. + fi + cd ${S} tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \ | tar --no-same-owner -xpf - -C ${D} }