Dan Price wrote: > On Thu 09 Oct 2008 at 04:09PM, Dan Price wrote: >> John, Michal, a couple of things. >> >> First, I found that 'make link' doesn't work very well following your >> recent putbacks. There were already some issues but now they are >> worse, and running 'make link' creates turds in the workspace. >> >> I'm leaving for vacation so I am very short on time. But I needed >> this to work for other testing of other stuff. Attached is a patch >> which I think fixes the issue. Do you think you could finish it and get >> it reviewed and fixed? >> >> Please look it over carefully, as I might not have gotten all of >> the directory changes correct. This does work for me, however. >> >> You should also change the permissions on some of the files in the src >> base to add the +x bit. That way when we symlink to them with >> 'make link' they are executable. Like: >> >> /usr/lib/updatemanagernotifer > > n.b. (exercise left to the reader) I missed linking in updatemanager > itself. Oops :( > > A problem with this patch-- and with this scheme as a whole-- is > that the gui modules don't lay out in the source base in the right > way to support the 'make link' style of operation-- > /usr/lib/python2.4/vendor-packages/pkg --> $workspace/src/modules > > But then there's no way to create a link from: > > /usr/lib/python2.4/vendor-packages/pkg/gui -> $workspace/src/gui > > without creating a link inside of $workspace. And then Mercurial > doesn't like that. > > So, I guess this may need further thinking. > > -dp >
Dan, I will check the links on Tue, 14th. About the problem with CPU usage. I don't see updatemanagernotifier using a lot of CPU on my box (both native and VirtualBox). One question. Do you have SUNWpython-notify installed? This package is not in the pkg.opensolaris.org but is in the snv 99, so it will be in the opensolaris build 99. If you do have SUNWpython-notify then it means that something else is going on. The updatemanagernotifier is using other way of putting thread in the idle then packagemanager, so we might consider switching from gobject.timeout_add to the traditional time.sleep. best Michal Pryc _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
