Re: The Grand DEB Packaging Thread!
did you change bash to sh or sb??
where are you running script? |
Re: The Grand DEB Packaging Thread!
Quote:
i package the scripts files ("postrm" and "preinst") inside "DEBIAN" folder with "control" file. Then i execute the deb package |
Re: The Grand DEB Packaging Thread!
On what? PC? What OS?
|
Re: The Grand DEB Packaging Thread!
with nokia n9
and i use this script to package: Code:
#!/bin/sh |
Re: The Grand DEB Packaging Thread!
aha so digsigsums file is just the sha1sum values...now it will be easier to package postint and prerm files...
|
Re: The Grand DEB Packaging Thread!
I've read thru' this whole thread and saw a couple of posters with the following error:
Code:
tar: unrecognized option '--format=gnu' There is a work-around for the above: - Download this tar file from my dropbox: http://db.tt/zSChAgJA In terminal as root: - cp -R /path/to/downloaded/tar /bin/ - chmod 775 /bin/tar Now just repeat your packaging and you are done :) Edit: If you are wondering what I did; i downloaded gnu-tar to my system from harmattan sdk repo...Doing a dpkg -i to the downloaded tar didn't work as diversions are not allowed on the n9... So i extracted from the .deb that i downloaded the above tar file and voila doing the above fixed it up... Edit 2: Now for packaging just follow the first post's instructions with the above fix and it should work... |
Re: The Grand DEB Packaging Thread!
I still get "installation interrupted" even without postrm and preinst inside the deb package.
I only package this: /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css So when deb installs its replaces the original Do my deb need some permission to replace that file? why i can install my packaged themes (/usr/share/themes) without problems and i get trouble with this (inside base folder)? |
Re: The Grand DEB Packaging Thread!
Aegis?
Hash tables? Opem mode / interception? Just a few key words, but keep in mind I do not own a N9! |
Re: The Grand DEB Packaging Thread!
Hello!
After doing this: " There is a work-around for the above: - Download this tar file from my dropbox: http://db.tt/zSChAgJA In terminal as root: - cp -R /path/to/downloaded/tar /bin/ - chmod 775 /bin/tar Now just repeat your packaging and you are done" Now I have this problem (again): Can't install. Damaged Installation Package More details: http://talk.maemo.org/showthread.php?t=87576 Can you help me? I want to avoid flash--- Thanks!! |
All times are GMT. The time now is 00:16. |
vBulletin® Version 3.8.8