Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Debian Development Discussion • Re: DEB package development - few questions from newbie

$
0
0
The various maintainer scripts you're asking about (preinstall, etc) go in the /debian directory with all the others. The build process automatically puts them in a DEBIAN folder inside the deb file.
Well i already tried that, to put those scripts to debian/ dir. But none of them worked, and none of them i saw in debian/myapp/DEBIAN/ directory. So then i manually copied them with the debian/rules script and then they did work. However in the meanwhile builder complained that they doesnt have execute permissions. Maybe it was the reason they havent been copied in the first try.?

Yeah i think that with all the things i know now, its time to generate whole directory with dh_hepler and See how all should be done.

Thank you very much for your help!
Yes, permissions can definitely affect how scripts are handled in the packaging process. If they lack execute permissions, the builder might skip or ignore them. Using dh_make to generate the directory structure with dh_helper is a great idea—it sets up the standard structure and helps make sure you’re following best practices. Once you have that, you should find it easier to customize as needed. Good luck, and feel free to reach out if you run into any more issues!

Statistics: Posted by filliphey — 2024-11-08 13:34



Viewing all articles
Browse latest Browse all 2849

Trending Articles