Files are not getting included in deb file after build on ppa?

Asked by Gajj GNDU

Hello there,

I'm a newbie in packaging & ppa. I was trying to upload a package for android developer tools. But after the build my files in /usr/local/adt or i can say the whole local folder is not getting included in deb file build on the ppa.

I tried using adt.install file in debian package & second time only install file also with content as follows

usr* /

after few tries & unsucessful builds i also tried putting content of above files as

usr/* /usr/

But so far nothing helped me.

I also tried putting this line of code at the end of my rules file in another small sized example package named test

override_dh_usrlocal:

& got error like

Found files in /usr/local (must be in /usr).
debian/test/usr/local
debian/test/usr/local/test
dh_builddeb.pkgbinarymangler: dpkg-deb --build debian/test .. returned exit code 1
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2

In my test package i have these files & folders
/debian
/usr/
       /foo/
               /foo
              /test
       /local/
                 /test
      /test

You can check my source at ppa:linuxgndu/gajj-sci. So i need help in building package for android developer tools.

Thanks & Regards
Navdeep Singh
Team Lead, Gajj

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Gajj GNDU
Solved:
Last query:
Last reply:
Revision history for this message
Gajj GNDU (linuxgndu) said :
#1

For the time it got solved !! Thanks !! Just suggestion for ppa & packaging there must be detialed tutorial for newbies.

Revision history for this message
Elvis Stansvik (elvstone) said :
#2

How did you solve it? I'm facing the same problem. I have a package that installs to both /usr and /usr/local (bad I know, but still I must get it to work).