|
|
@ -12,9 +12,7 @@ C) How to use the scripts
|
|
|
|
* You can use the file ".pbuilderrc" from following point 2) - it is recommended to update the mirror to use
|
|
|
|
* You can use the file ".pbuilderrc" from following point 2) - it is recommended to update the mirror to use
|
|
|
|
with one near you.
|
|
|
|
with one near you.
|
|
|
|
* Create the folder "/var/cache/pbuilder/repo"
|
|
|
|
* Create the folder "/var/cache/pbuilder/repo"
|
|
|
|
* Create base package with the command:
|
|
|
|
2) copy files from "additional files" folder to respectivily named folder.
|
|
|
|
DIST=<your distro> pbuilder --create
|
|
|
|
|
|
|
|
2) copy files from "additional files" folder to respective folder.
|
|
|
|
|
|
|
|
"user_home_folder" is the user home folder path.
|
|
|
|
"user_home_folder" is the user home folder path.
|
|
|
|
3) Create base package with the command:
|
|
|
|
3) Create base package with the command:
|
|
|
|
DIST=<your distro> pbuilder --create
|
|
|
|
DIST=<your distro> pbuilder --create
|
|
|
@ -24,6 +22,7 @@ C) How to use the scripts
|
|
|
|
1_git : contains the git repo clones and build hook scripts
|
|
|
|
1_git : contains the git repo clones and build hook scripts
|
|
|
|
2_build: folder used for build preparation and for local builds
|
|
|
|
2_build: folder used for build preparation and for local builds
|
|
|
|
3_repo : local repo for package installation (to be configured in /etc/apt/sources.list)
|
|
|
|
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_SRC/1_git:
|
|
|
|
- in TDE_SRC/1_git:
|
|
|
|
== SKIP TEMPORARILY ==
|
|
|
|
== SKIP TEMPORARILY ==
|
|
|
|
edeps : contains extra dependency modules necessary to build TDE
|
|
|
|
edeps : contains extra dependency modules necessary to build TDE
|
|
|
@ -52,9 +51,12 @@ C) How to use the scripts
|
|
|
|
TDE_SRC/2_build/debs/edeps/<MODULE NAME>/
|
|
|
|
TDE_SRC/2_build/debs/edeps/<MODULE NAME>/
|
|
|
|
== TEMPORARILY ONLY END ==
|
|
|
|
== TEMPORARILY ONLY END ==
|
|
|
|
|
|
|
|
|
|
|
|
7) cd "TDE_SRC/1_git/tde-packaging/debian/_buildscripts/local/scripts/"
|
|
|
|
7) - copy build scripts from "TDE_SRC/1_git/tde-packaging/debian/_buildscripts/local/scripts" to
|
|
|
|
./update_git_repository.sh -> the very first time this will create the TDE_SRC/build_config.sh file.
|
|
|
|
"TDE_SRC/buildscripts"
|
|
|
|
Edit the file to match your preferences.
|
|
|
|
- cd "TDE_SRC/buildscripts"
|
|
|
|
|
|
|
|
- ./update_git_repository.sh
|
|
|
|
|
|
|
|
-> the very first time this will create the TDE_SRC/buildscripts/build_config.sh file.
|
|
|
|
|
|
|
|
Edit the file to match your preferences and make sure to set TDE_DIR to your TDE_SRC folder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B) Notes about scripts
|
|
|
|
B) Notes about scripts
|
|
|
@ -145,7 +147,7 @@ To use a hook, just create an executable pre_build.sh and/or post_build.sh scrip
|
|
|
|
C) How to use the scripts
|
|
|
|
C) How to use the scripts
|
|
|
|
---------------------------
|
|
|
|
---------------------------
|
|
|
|
1) Follow the steps in section "A) Environment preparation" (only required the first time)
|
|
|
|
1) Follow the steps in section "A) Environment preparation" (only required the first time)
|
|
|
|
2) cd "TDE_SRC/1_git/tde-packaging/debian/_buildscripts/local/scripts/"
|
|
|
|
2) cd "TDE_SRC/buildscripts"
|
|
|
|
3) ./update_git_repository.sh -> update git repository, wait until "Update completed" is printed out.
|
|
|
|
3) ./update_git_repository.sh -> update git repository, wait until "Update completed" is printed out.
|
|
|
|
Check log in TDE_SRC/0_logs/ if you wish
|
|
|
|
Check log in TDE_SRC/0_logs/ if you wish
|
|
|
|
4) Run "pbuilder update" at the beginning of the day to update the base package to the latest version. This will speed up
|
|
|
|
4) Run "pbuilder update" at the beginning of the day to update the base package to the latest version. This will speed up
|
|
|
|