Reply
Thread Tools
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007 @ Halifax, Nova Scotia, Canada
#11
Originally Posted by twaelti View Post
What happens if you put a dummy file into your src/dev/null subfolder ?
I thought about doing that, but wouldn't that cause uninstall to fail when it can't find the file?
 
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#12
No idea :-)
__________________
-Tom (N900, N810, N800)

"the idea of truly having a computer in your pocket just moved a big step closer."
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#13
Originally Posted by twaelti View Post
@epage: Did you never get back in contact with Khertan?
(IIRC we were in contact about this some weeks ago)
Life got busy around that time
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#14
hello

the issue I have with py2deb is not with the post/preinstall script, but with the package section.. I have a desktop widget for diablo in extras-devel that I am trying to promote..

while packaging with py2deb, I tried the below which resulted in errors that the 'user/desktop' section does not exist..
Code:
p.section="user/desktop"
So I ended up using
Code:
p.section="user/accessories"
With this I could succesfully upload to extras-devel.. However when I try to promote it to extras, I get a msg that
Warning: This package is not using one of the allowed user/* sections!
Could some one pls tell me how I can select the right section here and I think the right section here would be "user/desktop"
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#15
Originally Posted by shin View Post
Could some one pls tell me how I can select the right section here and I think the right section here would be "user/desktop"
you can find the sections for your packaging here
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 

The Following User Says Thank You to krk969 For This Useful Post:
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#16
Thank you krk969

I did refer to this section classification. But the issue was that py2deb would not allow me to use "user/desktop", so I resorted to using "user/accessories". Using accessories section resulted in a warning msg in the packages interface.

I managed to find a work around by editing the py2deb.py file to include the "user/desktop" section. but I still have some issues in the packages interface as mentioned here

Thanks anyways for your time
 
Reply

Tags
deb, packaging, postinst, preinst, py2deb

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:05.