diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1-r5.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1-r6.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1-r5.ebuild rename to sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1-r6.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1.ebuild index bb134b2393..47c70fc2cd 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/bootengine/bootengine-0.0.1.ebuild @@ -49,8 +49,8 @@ pkg_postinst() { # as we are not in src_install() insinto and doins do not work here, so # manually copy the file around cpio=${ROOT}/tmp/bootengine.cpio - chmod 644 ${cpio} + chmod 644 ${cpio} || die mkdir ${ROOT}/usr/share/bootengine/ - cp ${cpio} ${ROOT}/usr/share/bootengine/ + cp ${cpio} ${ROOT}/usr/share/bootengine/ || die rm ${cpio} }