Commit | Line | Data |
---|---|---|
e043b5aa OL |
1 | This puts things and thongs together to get us a makeshift Debian package. Copied from the same in lgcore6500(git repo)/dev/services/webconfig. Use with caution. |
2 | ||
3 | ||
4 | ** How to use | |
5 | ||
6 | edit things in /debian, notably the control file | |
7 | ||
8 | edit the Makefile to include the files you want to include (ie, here, the master-files directory which is simply the "master" folder in the debian6500 git repo, without the symlinks) | |
9 | ||
10 | pray "make" will do the job | |
11 | ||
12 | ||
13 | ** What files we need | |
14 | ||
15 | Everything in the debian/ folder, ie control, preinst, postinst and the like. | |
16 | Obviously they are not required for a _debian_ package but for _ours_ they are | |
17 | ||
18 | the ../additional_scripts folder. Please, please don't trash it away. These scripts come from the lgcore6500 repository, that's why they're no symlinks like for the master-files thing. | |
19 | ||
20 | ||
21 | ** About versioning | |
22 | ||
23 | Let us say our package is version 7.8.1-1. This means it's the version 1 of the customization archive for Debian 7.8, hence 7.8.1. The -1 suffix is a package version, in theory it doesn't affect the contents, only how they're packaged. | |
24 | ||
25 | That's for version number. Remember also to list your changes in the debian-changelog in the debian/ folder ; it'll be useful to check the OS version on systems once it's installed. |