!!! dobin: smoltSendProfile does not exist * ERROR: app-admin/gentoo-smolt-9999 failed: * dobin failed * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 4330: Called die * The specific snippet of code: * dobin smoltSendProfile || die 'dobin failed'
I just put some linking into the postinstall (pretty dirty workaround): --- gentoo-smolt-9999.ebuild 2010-07-09 22:08:05.463267995 +0100 +++ /var/lib/layman/sping/app-admin/gentoo-smolt/gentoo-smolt-9999.ebuild 2010-07-09 23:16:58.969366413 +0100 @@ -52,8 +52,6 @@ mv "${D}"{/usr/share,$(python_get_sitedir)}/smolt/client || die 'mv failed' insinto "$(python_get_sitedir)"/smolt/client doins -r distros || die 'doins failed' - rm "${D}"/usr/bin/smoltSendProfile || die 'rm failed' - dobin smoltSendProfile || die 'dobin failed' } pkg_postinst() { @@ -65,6 +63,10 @@ UUID=$(cat "${ROOT}"/etc/smolt/hw-uuid) elog "Your UUID is: ${UUID}" fi + elog "linking smoltSendProfile and smoltDeleteProfile to /usr/bin" + rm -f /usr/bin/smolt* + ln -s "$(python_get_sitedir)"/smolt/client/deleteProfile.py /usr/bin/smoltDeleteProfile + ln -s "$(python_get_sitedir)"/smolt/client/sendProfile.py /usr/bin/smoltSendProfile echo elog "Call smoltSendProfile as root in order to initialize your profile." echo
Ebuild has gone from overlay, closing.