aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-10-31ci-build.sh: Fix bug in append local confHEADmasterGunnar Andersson1-4/+4
Not sure how this ever worked before. Some comments / cosmetic changes were included in the process. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-10-31ci-build: remove ftp from PREMIRROROleksandr Kravchuk1-2/+0
FTP mirrors are not supported by Yocto anymore. Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
2018-08-08checkout_layer_hash.sh: Fetch selected branchGunnar Andersson1-1/+7
The CI system will typically make shallow clones, and it might be set to fetch a specific layer branch. In a transition period, when the README specifies a new branch we might lack the requested commit hash, but since the README lists the branch name, we can use it and make sure it is fetched first. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-06-20ci-build: Fix the git diff reporting on conf filesGunnar Andersson1-5/+3
There is a git diff performed and stored in a text file. This is to note in build results if there were any local conf changes. It was wrong (based on GDP directory structure) and also syntactically wrong, which caused the command to fail, and through the -e flag consequently a script error exit as well. The script also needs to exit with success if reaching the end (cleanup function might report some other return code) Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-05-18ci-build: Avoid multiple appends to conf filesGunnar Andersson1-13/+17
Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-05-18ci-build: Change build/ dir location to parent dirGunnar Andersson1-4/+4
The script used to place build inside of meta-ivi, (a remnant from GDP where the script is in a "parent" container project). The right location ought to be the directory just above meta-ivi layer directory. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-05-18ci-build: Change default for reused (fixed) directories to falseGunnar Andersson1-2/+2
There are some "fixed" locations for caching (downloads, sstate) used for all builds by build agents. These used to be used by default, and could be overridden to not be used. The logic is now reveresed to be better optimized for end-user usage, and less optimized for CI. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-05-18ci-build: Documenting the scriptGunnar Andersson1-27/+81
2018-05-18checkout script: remove bash specific syntaxGunnar Andersson1-3/+3
Script used >& syntax but did not specify a shell that is guaranteed to understand it (csh, bash, zsh). This triggers the message "Syntax error: Bad fd number" on some build machines. An alternative would be to use /bin/bash explicitly since ci-build requires bash anyway, but maybe checkout might be used on its own. This is just as easy. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-05-18First adjustment of ci-build.sh for meta-iviGunnar Andersson1-108/+41
Included new image target for build with sdk, similar to GDP setup. The content of that file likely needs some adjustments. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-05-18Add initial ci-build.shGunnar Andersson1-0/+575
This is a copy of ci-build.sh from genivi-dev-platform which is *not yet adjusted* for meta-ivi build. This is to facilitate diffing against the next commit to see what was changed. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
2018-02-14runqemu: Use bash instead of shP-0.1Oscar Andreasson1-1/+1
The script uses syntaxes that are not POSIX sh compatible, but rather bash. For this reason, the script is now using bash instead of sh. Signed-off-by: Oscar Andreasson <oscar.andreasson@pelagicore.com>
2017-09-06scripts/checkout: support Go.Cd serverYong-iL Joh2-2/+11
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2017-06-16bblayers.conf.sample: add meta-gplv2 layersYong-iL Joh1-0/+2
meta-gplv2 provides "old" s/w packages whose recent verion are released under GPLv3 Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2017-04-11scripts/ : use runqemu in pokyYong-iL Joh6-1384/+66
- remove unused files Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2017-04-04scripts/checkout: update.Yong-iL Joh1-0/+23
- it can be used for update existing git - add a guide to README.md Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2017-02-08Move checkout_layer_hash.sh from baseline_ci_helper to meta-ivi/scriptsGunnar Andersson2-22/+118
This version of checkout_layer_hash.sh is a combination of the old checkout_layer_hash.sh + get_layer_info_from_README.sh, from the previous repository: baseline_ci_helper.git Signed-off-by: Gunnar Andersson <gand@acm.org>
2016-10-25scripts/checkout: added for convenienceYong-iL Joh3-0/+137
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2015-11-10runqemu: remove workaround for vexpressa9Yong-iL Joh2-8/+10
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2015-09-18runqemu: update to yocto fido's.Yong-iL Joh2-511/+697
- it's for fix up the issue of "wayland does not receive handle left mouse click event" Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
2014-04-04Change vexpressa9 qemu settingsFlorin Sarbu2-2/+2
We now use a .ext3 sd to boot the qemu. We change the kernel root cmdline arg to /dev/mmcblk0 Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2013-10-01vexpressa9: Use kernel version 3.10Florin Sarbu1-4/+4
Change the kernel image type to zImage instead of uImage. Add proper LOADADDR for the vexpressa9 kernel. Rework the runqemu script used for vexpressa9 machine to pick up the kernel and .sdimg from the new location. Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2013-08-09runqemu-internal: remove sound hardware for vexpressa9Holger Behrens1-1/+1
Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
2013-01-08Remove obsolete file and readme cleanup.Florin Sarbu1-72/+0
dl_pkgs.sh script is not needed anymore as all the GENIVI components have moved to public git repositories. README.md file has been modified in order to remove the uneeded dl_pgks.sh step we no longer need to execute. Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2012-11-19scripts: Remove useless scriptsAndrei Gherzan3-262/+0
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-11-19scripts: Remove script for vexpressa9 sdimg and related modificationsAndrei Gherzan3-138/+1
* Modified runqemu script to point to the image name create with bbclass * Modified runqemu-internal script to remove sd creation code for vexpressa9 Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-10-24dl_pkgs: Remove packages that are now on public git repositoryAndrei Gherzan1-2/+2
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-08-10dl_pkgs.sh: handle boot-manager rename, read and use DL_DIRHolger Behrens1-11/+34
Handled GENIVI boot-manager component rename to node-startup-controller. Also the script now takes into account the configured DL_DIR setting. Added feature suggested by Laurent Emmerich allowing users to define environment a variable GENIVI_USER and optionally GENIVI_PASS, which if defined will later be used to git clone the required GENIVI packages. Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
2012-07-12dl_pkgs.sh: Add boot-manager to be downloaded along with the other henivi ↵Florin Sarbu1-2/+2
packages Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2012-05-31runqemu-internal: Deactivate sound in qemu to avoid some warningsAndrei Gherzan1-2/+2
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-05-31runqemu-internal: Fix - it needs USERID as argumentAndrei Gherzan1-2/+3
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-05-09runqemu-internal: Add $QEMU_NETWORK_CMD to QEMUOPTIONS for vexpress a9.Andrei Gherzan1-1/+1
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-04-22runqemu-internal: modify to pick up vexpressa9 .img creation script from ↵Florin Sarbu1-2/+1
same directory Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2012-04-21Modify runqemu script to support our vexpressa9 qemu target and update ↵Florin Sarbu1-1/+1
README.md to reflect that Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2012-04-20Redo initial populationFlorin Sarbu11-5/+1650
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2012-04-19Initial PopulationHolger Behrens3-0/+6