Reply
Thread Tools
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#11
Originally Posted by ammyt View Post
Why would I?
1. Copy the them folder, e.g. fasterdarker folder to /home/user/
2. Create a Folder inside /home/user/fasterdarker called DEBIAN, and construct the control file in there.
3. Chmod 755 both the DEBIAN folder and the control file, then:
Code:
dpkg-deb -b /home/user/fasterdarker
You will find a file called fasterdarker.deb in /home/user/
I pretty much package everything that way.
Thanks
Can you write the full command of chmod 755 to the two files: DEBIAN and control ?
And what happens when you try to uninstall this package ? I mean what about files postinstal, preinstall, preuninstall and postuninstall ?
Thanks
 
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#12
Originally Posted by Schturman View Post
Thanks
Can you write the full command of chmod 755 to the two files: DEBIAN and control ?
And what happens when you try to uninstall this package ? I mean what about files postinstal, preinstall, preuninstall and postuninstall ?
Thanks
You know I have started a thread about packaging debs, you better check it.
When you uninstall it, all files that we're installed will be removed. The post and pre files can also be constructed in the DEBIAN directory.
To chmod them:
Code:
root
chmod 755 /home/user/package/DEBIAN
chmod 755 /home/user/package/DEBIAN/*
 

The Following User Says Thank You to ammyt For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#13
Originally Posted by ammyt View Post
Why would I?
1. Copy the them folder, e.g. fasterdarker folder to /home/user/
2. Create a Folder inside /home/user/fasterdarker called DEBIAN, and construct the control file in there.
3. Chmod 755 both the DEBIAN folder and the control file, then:
Code:
dpkg-deb -b /home/user/fasterdarker
You will find a file called fasterdarker.deb in /home/user/
I pretty much package everything that way.
When you packaged my theme for me, it didnt install... Would this work on N9?
 
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#14
Originally Posted by F2thaK View Post
5. Startup disk size, I made mine 50GB. No less than 20GB Id say. Click "Next".

7. Fixed size storage. (Its faster) Click "Next".
Just a quick FYI: The speed differences between fixed and dynamic are barely noticeable; if you recommend people to use fixed then you are going to lose a whole chunk (50GB in your case) straight away before you even install the OS. If you use dynamic then the virtual hard disk grows as needed, and you won't have to "wait ages" for the generation time of the VHD. it's instant.

Plus, the base install for Ubuntu only requires around 4GB; 50 or 20 is a bit overkill to recommend.
 

The Following User Says Thank You to jd4200 For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#15
 
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#16
Originally Posted by F2thaK View Post
Im a linux noob mate
just thought I'd let you know how you could reclaim 40 of GB of space...
 

The Following User Says Thank You to jd4200 For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#17
Originally Posted by ammyt View Post
You know I have started a thread about packaging debs, you better check it.
When you uninstall it, all files that we're installed will be removed. The post and pre files can also be constructed in the DEBIAN directory.
To chmod them:
Code:
root
chmod 755 /home/user/package/DEBIAN
chmod 755 /home/user/package/DEBIAN/*
pre and post files I need to put to the DEBIAN folder like control file ?
And what the structure of this files? Just like a simple script ?
Thanks
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#18
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#19
anyone know if N900 way will work on N9?
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#20
Originally Posted by F2thaK View Post
anyone know if N900 way will work on N9?
See my post above you
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:32.