maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [Announce] DEB packages creator for N9/50 - v0.2.0 (https://talk.maemo.org/showthread.php?t=91053)

Schturman 2013-08-18 20:01

Re: [Announce] DEB packages creator for N9/50 - v0.0.3
 
I don't know, i not tested with big sizes.. ;)

coderus 2013-08-19 16:29

Re: [Announce] DEB packages creator for N9/50 - v0.0.3
 
@MK99 then you **** up great linux system and your phone explode. believe me.

Schturman 2013-08-19 16:39

Re: [Announce] DEB packages creator for N9/50 - v0.0.3
 
Haaaaaa...

Also, now I finally know how to add md5sums and digsigsums to the package, new release later today...
Only aegis manifest I still can't add, continue searching...
But for now, if you need run your scrip/app from desktop icon as ROOT, you can use:

Quote:

Exec=/usr/bin/meego-terminal -n -e sudo sh -c "sh /path/to/script.sh"
You need opensudo from Coderus for this.

Schturman 2013-08-20 00:19

Re: [Announce] DEB packages creator for N9/50 - v0.0.3
 
Version 0.0.4 ready :D (first post)

coderus 2013-08-20 05:28

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
digsigsums should contain only binaries
adding every file to digsigsums you allowing aegis to prevent files from changes.

Schturman 2013-08-20 06:15

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
Ooops, you are right, forgot about this :D
I will update version later with option that user can add both of them to specific files. And it will add automatically only for scripts In DEBIAN folder..

coderus 2013-08-20 09:40

aegis-deb-add package.deb _aegis

Schturman 2013-08-20 10:06

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
ahh.. Thanks :D
Wanted to try this today, not have time now, will do it later.
A few days ago i tried to package with _aegis file already in DEBIAN folder, but created icon not wanted to open my script as root.
I will try your method...

coderus 2013-08-20 10:31

_aegis should be placed in deb package folder, mot DEBIAN :)

Schturman 2013-08-20 11:09

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
Ahhh... I put it to DEBIAN because when i extracted some packages with aegis manifest, i found this file in DEBIAN folder :D
Ok, will try both variations :)
Thanks

PS. Thinking abut what you said, probably you mean that mypackage.aegis file should be in deb package folder when we packaging in scratchbox and after this if you extract content from deb, you will find renamed manifest (_aegis) file in DEBIAN folder.. This yes i know, but when we packaging on n9, its another method and i tired this but it not insert/rename manifest file to DEBIAN folder.
I will try your command :)

zaidk9 2013-08-20 12:42

@lorenzo still the same
Dont know whats wrong with my pdf reader
http://i.imgur.com/UDjSHT8.png

Quote:

Originally Posted by Schturman (Post 1367954)
Look in your pm on lolnokia about themes...

Can u pm me too??...

Schturman 2013-08-20 13:23

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
For what? Try redownload and reinstall package or download pdf from the first post.

Schturman 2013-08-20 15:43

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
Ahhhh.. Yes, Yes, yes !!! I got it :D
Andrey, you command worked and I also tested with this command:
Code:

aegis-deb-util --add-manifest --manifest=my-package.aegis package.deb
Just perfect ! I got a fully working package with ROOT privileges to my script! When i open this script from desktop icon it not ask password, no errors and can do stuff in root directories :D
Very cool !

If I have time this evening I will release new version.


PS. I not understand only one thing, why if i extract content from this package with dpkg -e, I'm not see the "_aegis" file here, only my files from DEBIAN folder :confused:
But never mind, package work like expected :D

coderus 2013-08-20 16:45

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
open deb in archiver and check why :)

Schturman 2013-08-20 18:13

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
Used "ar vx package.deb" and here i saw _aegis :D Thanks.
But why in some packages if you extract with dpkg -e you get this file ?

coderus 2013-08-20 20:22

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
@ Schturman because you wrong. you never get _aegis inside control :)

Schturman 2013-08-20 20:44

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
Yep, i know.. I mean when i extract files from deb like this:
Code:

dpkg -e package.deb /path/DEBIAN
This command create folder DEBIAN in "path" and put here control, postrm etc... And when i do it for some packages i get here a _aegis file too. This why i asked it, why sometimes i get it ?

coderus 2013-08-21 04:42

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
@Schturman you wrong. for which packages you getting _aegis inside control archive? :D

MK99 2013-08-21 06:07

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
Would it be possible to disable the auto-exit in each case?
Now if there are problems, the program shuts down quickly, and I can't read anything.
Tried to make theme deb... 5,65 Mt :p

Schturman 2013-08-21 06:27

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
which version you use ? 2-3 latest version without auto-exit...

MK99 2013-08-21 06:51

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
0.0.4

BTW: Pyttu is great... ;)

Schturman 2013-08-21 07:45

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
You mean the first exiting where you have a problem with your file ? I added here "sleep 2" before exiting ;) If it not enough, i can add more, like 3 or 5 sec...

MK99 2013-08-21 08:44

Re: [Announce] DEB packages creator for N9/50 - v0.0.4
 
5 seconds should be enough. ;)

Schturman 2013-08-23 09:21

Re: [Announce] DEB packages creator for N9/50 - v0.0.5
 
New version (0.0.5) ready ! :D
See first post and read changelog...

Schturman 2013-08-23 11:46

Re: [Announce] DEB packages creator for N9/50 - v0.0.6
 
New version (0.0.6) ready ! :)
See first post and read changelog...

* disabled auto-exit on errors.

Schturman 2013-08-23 23:18

Re: [Announce] DEB packages creator for N9/50 - v0.0.7
 
New version (0.0.7) ready ! :)
See first post and read changelog...

haider378 2013-08-24 08:25

Re: [Announce] DEB packages creator for N9/50 - v0.0.7
 
Can make a deb package to forward music using original n9 wired handsfree?

Schturman 2013-08-24 10:27

Re: [Announce] DEB packages creator for N9/50 - v0.0.7
 
You can create what you want, if you know how...

Schturman 2013-08-24 20:46

Re: [Announce] DEB packages creator for N9/50 - v0.0.8
 
New version (0.0.8) ready ! :)
See first post and read changelog...

Schturman 2013-08-25 12:25

Re: [Announce] DEB packages creator for N9/50 - v0.0.8
 
Added my repo to the first post...

Schturman 2013-08-29 01:43

Re: [Announce] DEB packages creator for N9/50 - v0.0.8
 
1 Attachment(s)
Another little package completely created on the phone (except icon) :D
This mod from N9QT...

Big snooze button

Package: bigsnooze_0.0.1_armel.deb

:p

Schturman 2013-08-31 00:33

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
New version ready :D (repo/first post)

valdur55 2013-08-31 06:42

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
And where is Russian PDF guide? I see only English link :)

Schturman 2013-08-31 10:43

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
Inside the package.. I will add to the first post too..

Schturman 2013-08-31 10:49

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
Added to the first post.. Both instructions updated...

hrbani 2013-08-31 13:16

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
Hi

How can I use this to create "offline-developer-mode-enabler.deb"?
[I activated developer-mode with all pakages, but I must to flash my phone and I want after flashing use something like that instead of online enabling]

With Regards

Schturman 2013-08-31 17:27

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
Hmmm... Try this..
1. Download all needed packages:
Code:

apt-get clean && apt-get install --reinstall -d -y duicontrolpanel-devmodeapplet develsh sdk-connectivity-tool meego-terminal openssh-client openssh-server gdbserver aegis-developer-unknown-source-policy aegis-dev-mode busybox-devel-su less simple-syslog-daemon developer-mode
2. Copy them to somewhere in MyDocs
Code:

cp -f /var/cache/apt/archives/*.deb /home/user/MyDocs/Downloads/DEVMODE
3. Create package including this packages (read pdf instruction) and add installation of this packages in postinst script:
Code:

cd /opt/offline-devmode
dpkg -i duicontrolpanel-devmodeapplet* develsh* sdk-connectivity-tool* meego-terminal* openssh-client* openssh-server* gdbserver* aegis-developer-unknown-source-policy* aegis-dev-mode* busybox-devel-su* less* simple-syslog-daemon* developer-mode*

4. After reflash you need to download filemanager and try to install your package...

Another way...
After downloading and transfer this file to MyDocs/DEVMODE, leave them here
Create empty package and in postinst script write a path to your files:
Code:

cd /home/user/MyDocs/Downloads/DEVMODE
dpkg -i duicontrolpanel-devmodeapplet*  develsh* sdk-connectivity-tool* meego-terminal* openssh-client*  openssh-server* gdbserver* aegis-developer-unknown-source-policy*  aegis-dev-mode* busybox-devel-su* less* simple-syslog-daemon*  developer-mode*

Don't know if it will work, try it...

coderus 2013-08-31 18:11

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
@Schturman trying to use dpkg/apt insige dpkg installation script call? genious :D
@hrbani what problem to use apt-backup and get all debs to install them offline?

Schturman 2013-08-31 18:47

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
Yep, i remember it not should work :D
and if you will add to postinst command to run script and this script will run installation ? It also will not work ?

coderus 2013-08-31 19:44

Re: [Announce] DEB packages creator for N9/50 - v0.0.9
 
i'm feeling Capitan Oblivious power in myself.


All times are GMT. The time now is 06:16.

vBulletin® Version 3.8.8