![]() |
2011-12-16
, 17:23
|
|
Posts: 1,918 |
Thanked: 3,118 times |
Joined on Oct 2010
@ My pants
|
#12
|
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
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: | ||
![]() |
2011-12-17
, 01:00
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#13
|
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:
You will find a file called fasterdarker.deb in /home/user/Code:dpkg-deb -b /home/user/fasterdarker
I pretty much package everything that way.
![]() |
2011-12-17
, 02:06
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#14
|
5. Startup disk size, I made mine 50GB. No less than 20GB Id say. Click "Next".
7. Fixed size storage. (Its faster) Click "Next".
The Following User Says Thank You to jd4200 For This Useful Post: | ||
![]() |
2011-12-17
, 02:07
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#15
|
![]() |
2011-12-17
, 05:16
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#17
|
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/*
![]() |
2011-12-19
, 08:41
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#18
|
![]() |
2011-12-19
, 09:21
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#19
|
![]() |
2011-12-19
, 09:43
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#20
|
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
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.