diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-07-24 18:40:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-07-24 18:40:18 +0900 |
commit | 7e05a8b13a137f60600a3694c7a9091752cd7162 (patch) | |
tree | 5306f82a4f0e296fd0b506152714a1d3bfb0a15f /debian/_buildscripts/local/README.txt | |
parent | 5b6ed350a0623e238e99866dc86d4d88a6904564 (diff) | |
download | tde-packaging-7e05a8b13a137f60600a3694c7a9091752cd7162.tar.gz tde-packaging-7e05a8b13a137f60600a3694c7a9091752cd7162.zip |
DEB/UBU build scripts.
1) added support for Devuan distros
2) added more command line options for update_repositories.sh
3) bug fixes and improved user feedback
4) added link inside ubuntu distro
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/README.txt')
-rw-r--r-- | debian/_buildscripts/local/README.txt | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/debian/_buildscripts/local/README.txt b/debian/_buildscripts/local/README.txt index cbe44130a..1e12a01b9 100644 --- a/debian/_buildscripts/local/README.txt +++ b/debian/_buildscripts/local/README.txt @@ -27,7 +27,8 @@ A) Environment preparation 3_repo : local repo for package installation (to be configured in /etc/apt/sources.list) buildscripts: contains a local copy of the build scripts, which can be modified as required - in TDE_DIR/1_git: - edeps : contains extra dependency modules necessary to build TDE + edeps : contains extra dependency modules necessary to build TDE (this folder is not necessary + is pre-built extra dependencies are used - see point 9 for more info) hooks : contains build hook scripts to execute ad-hoc code before and after the building process. Mainly used to apply patches automatically during the building process @@ -45,11 +46,11 @@ A) Environment preparation 5) Add your user to the sudo group (not required if you are root) su -c "adduser <username> sudo" - Optionally, consider extending your sudo timeout interval to avoid having to type your password too often - (this could be quite painful especially during long builds, which would not be able to complete if unattended). - To do this, type "sudo visudo" and then add "Defaults timestamp_timeout=<new timeout>", where the value is in - minutes. Use a value of -1 to set an infinite timeout. Logout and login again to make sure the new settings are applied. + * Optionally, consider extending your sudo timeout interval to avoid having to type your password too often + (this could be quite painful especially during long builds, which would not be able to complete if unattended). + To do this, type "sudo visudo" and then add "Defaults timestamp_timeout=<new timeout>", where the value is in + minutes. Use a value of -1 to set an infinite timeout. 6) Copy the files from "TDE_DIR/1_git/tde-packaging/debian/_buildscripts/local/additional_files" folder to the respectivily named folders. @@ -81,12 +82,14 @@ A) Environment preparation installing the extra dependency packages when TDE is installed. * For R14.1.x series (repository branch "master") # --- SLAVEK BANKO'S EXTRA DEPENDENCIES REPOSITORY --- - deb http://mirror.xcer.cz/trinity-tb <YOUR DISTRO> deps + # - temporarily disabled - + # - http://mirror.ppa.trinitydesktop.org/trinity-testing/dists <YOUR DISTRO> deps + deb http://mirror.ppa.trinitydesktop.org/trinity-sb <YOUR DISTRO> deps-r14 * For R14.0.x series (repository branch "r14.0.x") # --- SLAVEK BANKO'S EXTRA DEPENDENCIES REPOSITORY --- - deb http://mirror.xcer.cz/trinity-sb <YOUR DISTRO> deps-r14 + deb http://mirror.ppa.trinitydesktop.org/trinity-sb <YOUR DISTRO> deps-r14 For example: - deb http://mirror.xcer.cz/trinity-tb buster deps + deb http://mirror.ppa.trinitydesktop.org/trinity-sb buster deps - install package dirmngr if required - import Slavek's GPG key into your apt keyring sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A04BE668 @@ -136,15 +139,23 @@ When building sets of modules or the whole TDE, a global build summary is automa Script used to update the local clone of the git repositories. It is possible to update multiple branches as specified by the variable UPDATE_BRANCHES in the configuration file. After the update is completed, the local repositories will be switched to the branch specified by the - DEFAULT_REPO_BRANCH variable. The default branch can be overridden by using OVERRIDE_DEFAULT_REPO_BRANCH when - invoking the script. + DEFAULT_REPO_BRANCH variable. + The script can also be used to switch the local repositories to a particular branch, without performing any update. Usage: - [OVERRIDE_DEFAULT_REPO_BRANCH="<branch name>"] update_git_repository.sh [options] + update_git_repository.sh [options] Options: -i (Incremental) : in case the previous update was interrupted, continue from the last known updated module. (useful on slow/unstable internet connections). If the previous update had completed, this option is ignored. -v (Verbose) : display and log more output. Useful for troubleshooting. + -ub "<branches>" (Update Branches) : allows to specify the branches to update. This override the variable + UPDATE_BRANCHES in the configuration file. If a single branch is specified and the + '-db'/'-sb' paraemters are not used, '-ub' can be used to update and switch a single branch. + -db <branch> (Default Branch) : allows to specify the default branch. This override the variable + DEFAULT_REPO_BRANCH in the configuration file. + This option is only used if the argument '-so' is not specified. + -so <branch> (Switch Only) : switch the local repositories to the specified branch, without doing any update. + If '-ub' is used, the '-so' branch name must be one of those specified in the 'ub' branches. - build_module.sh Build a single module. |