Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319911 - [client] app-admin/gentoo-smolt-9999 doesn't like departure of smoltSendProfile
Summary: [client] app-admin/gentoo-smolt-9999 doesn't like departure of smoltSendProfile
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Smolt (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 01:58 UTC by Sebastian Pipping
Modified: 2012-06-23 18:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2010-05-16 01:58:10 UTC
!!! 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'
Comment 1 Marcus Becker 2010-07-09 22:19:19 UTC
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
Comment 2 Sebastian Pipping gentoo-dev 2012-06-23 18:32:07 UTC
Ebuild has gone from overlay, closing.