![]() |
packaging for maemo
Hi,
I'm trying to create a .deb package of my application and after going through various sources in the net, I've come to know few basic things but still there are lot of things I'm still confused about so thought I'll ask here. I could create a basic .deb package and are both installable and uninstallable but trying to make one with all my requirements, I'm having problem to make a clean uninstallable one as it does install nice. Below are my requirements:
I know these are the basic things but the one I tried was even without these things ;) Here are what I tried: For I wanted to have a directory in /home/user I created the directories: (/home/user/my_dir/config/my_config.conf and /home/user/my_dir/icons/my_icon.png) under DEBIAN folder like I made others (/etc and /usr) and also wrote postinst and prerm where prerm copies the .conf file to /home/user/.my_conf.conf before removing application so the settings can be used later if the user again installs the application and postinst moves the /home/user/.my_conf.conf back to the actual location which is (/home/user/my_dir/config) if the file exists. With this, while uninstalling, dpkg warns me that /home/user can't be removed and uninstalling fails. Any help would be great. Thanks |
Re: packaging for maemo
Quote:
|
Re: packaging for maemo
Hi, please help finding what is missing and what could be improved at http://wiki.maemo.org/Documentation/...d_Distributing
In principle that should be enough to get your Debian packages right. |
Re: packaging for maemo
Quote:
-jkq |
Re: packaging for maemo
I suggest storing user preferences in GConf.
|
Re: packaging for maemo
Quote:
In short, if you look at the New Maintainer's Guide or Debian Policy, you'll find the best places for your config files and not run into any problems with dpkg. |
All times are GMT. The time now is 00:07. |
vBulletin® Version 3.8.8