| Prev |   1   2 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Packaging with py2deb - post/preinstall script woes (https://talk.maemo.org/showthread.php?t=44016)

zerojay 2010-02-10 16:24

Re: Packaging with py2deb - post/preinstall script woes
 
Quote:

Originally Posted by twaelti (Post 519660)
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?

twaelti 2010-02-10 16:26

Re: Packaging with py2deb - post/preinstall script woes
 
No idea :-)

epage 2010-02-10 16:38

Re: Packaging with py2deb - post/preinstall script woes
 
Quote:

Originally Posted by twaelti (Post 519655)
@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 :(

shin 2010-03-04 16:30

Re: Packaging with py2deb - post/preinstall script woes
 
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
Quote:

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 2010-03-04 17:22

Re: Packaging with py2deb - post/preinstall script woes
 
Quote:

Originally Posted by shin (Post 555694)
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

shin 2010-03-05 07:21

Re: Packaging with py2deb - post/preinstall script woes
 
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


| Prev |   1   2 |
All times are GMT. The time now is 19:12.

vBulletin® Version 3.8.8