summaryrefslogtreecommitdiff
path: root/build_tools
AgeCommit message (Collapse)Author
2011-08-24live_dahdi: optionally generate FreePBX DB entriesTzafrir Cohen
If LIVE_DAHDI_FREEPBXDB=yes is set in live.conf, live_dahdi will also generate FreePBX astdb entries for the FXS entensions it probed (using the dahdi_genconf module freepbxdb). Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10151 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-07-20live_dahdi: symlink_astTzafrir Cohen
live_dahdi: Add a new command: symlink_ast, to make the system's /etc/asterisk/dahdi-channels.conf a symlink to the one generated by 'reload' / 'genconf'. If the system dahdi-channels.conf is a generated one and has not edited, there's no real harm with running this. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10057 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-07-20live_dahdi: xpp_fxloader: use live xpp.confTzafrir Cohen
xpp_fxloader also reads /etc/dahdi/xpp.conf in one specific case. Make it use the live copy. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10051 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-07-20live_dahdi: no need to create asterisk at genconfTzafrir Cohen
/etc/asterisk already gets generated at config. No need to re-create it at genconf time. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10050 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-07-07live_dahdi: create asterisk in the live treeTzafrir Cohen
Make sure you have etc/asterisk in the live tree before generating configuration. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10028 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-06-30Also loca xpd_echo in live_dahdi, if availableTzafrir Cohen
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10014 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-12-13live_dahdi: Fix regression from r9508Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9532 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-12-07live_dahdi: fix usage of xpp.confTzafrir Cohen
Link live/usr/share/dahdi/xpp.conf from live/etc/dahdi/xpp.conf in 'config'. This makes the 'live' xpp.conf used rather than the global xpp.conf . Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9508 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-11-15live_dahdi: rsync to /tmp/dahdiTzafrir Cohen
* Change the destination of rsync to /tmp/dahdi * Add variable LIVE_DAHDI_RSYNC_DIR to allow overriding this. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9480 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-11-15live_dahdi: only check for TOOLS_DIR when usedTzafrir Cohen
Only check that TOOLD_DIR is valid when it is actually needed (configure, install, config). This allows not checking for it with *load on a rsync-ed copy. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9479 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-11-11make_version: Use 'git rev-parse' if only looking for a sha5.Shaun Ruffell
Different versions of git have variability in how the log output looks. Instead of git log, we can use git rev-parse directly. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9475 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-09-29make_version: svn and git metadata directory not checked properly.Shaun Ruffell
(closes issue #16143) Reported by: Max Khon Signed-off-by: Kinsey Moore <kmoore@digium.com> Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9418 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-09-24make_version: '[[' -> '[' since it's not a bash script.Shaun Ruffell
'[[' is a bash construct specifically, yet #!/bin/sh is at the top of the file. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Review: https://reviewboard.asterisk.org/r/940/ git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9408 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-09-21dahdi: Generate include/dahdi/version.h when building in a git repository.Shaun Ruffell
If building within a git repository search the last log message for a 'git-svn-id'. If found, the commit has a corresponding svn revision number and we will use the SVN-xxx-rxxx revision form. Otherwise use the output of 'git describe --long --always --tags --dirty=M' as the version. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9396 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-08-18live_dahdi: shutdown dynamic spans to to avoid panicTzafrir Cohen
If we fail to shutdown the dynamic spans, we may get a panic on the next load. This attempts to guess when we need to unload spans at unload. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9163 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-08-18live_dahdi: allow testing dynamic local spansTzafrir Cohen
Adds support for configuring dynamic spans through live_dahdi. To enable, set in live/live.conf: DYNAMIC_LOC="yes" It will generate an extra live/etc/dahdi/dynamic.conf (if one does not exist) and use it to configure extra dynamic spans in the system. Note that ATM this will make the system hang pretty easily at 'load' time. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9162 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-06-29live_dahdi: properly unload EC modulesTzafrir Cohen
Copy sruffel's fix to the init.d script from -tools. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8818 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-06-28live_dahdi: regen config or restart asterisk without full reloadTzafrir Cohen
Adds commands 'genconf' (for basically: dahdi_genconf; dahdi_cfg) and 'asterisk' (start asterisk) so doing those should not require a full restart. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8814 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-06-08live_dahdi: load firmware_class if requiredTzafrir Cohen
Modprobe firmware_class for modules that may need it (and that we insmod later) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8751 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-03fix kernel-cp download testTzafrir Cohen
'wc -c <f$ile' returns the name of the file as well. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8585 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-18live_dahdi: fixes for rsync modeTzafrir Cohen
* Run programs from live tree rather than tools dir (not copied) * Calculate MODULES dir after reading config file (you'll still need to override it from the command line for building, but not for reload) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8347 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-15make_static_devs: a script to generate the static device files.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8033 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-11live_dahdi: just make sure we have crc_ccitt on the system.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7867 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-16kernel-cp: a local wrapper to the kernel's checkpatch script.Tzafrir Cohen
checkpatch.pl is a script intended to check style of code (normally: before submitting kernel patches). As using this script simplifies testing new code for coding style, this commit officially closes issue #16191 . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7702 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-10-11Add kernel-doc generation to the 'docs' targetTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7379 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-21live_dahdi: more overridble variable; align usage messageTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7179 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-21live_dahdi: Better handling of a non-existing TOOLS_DIRTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7172 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-12live_dahdi: more drivers in subdirs; voicebusTzafrir Cohen
* wcb4xxp and wcte12xp should also be loaded from a subdirectory with their name. * wctdm24xxp and wcte12xp depend on the voicebus driver. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6971 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-25adapt live_dahdi to current xpp toolsTzafrir Cohen
* More varibles to set through the environment * Different way to list drivers git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6487 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19live_dahdi: Only probe modules to load on 'load'Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5711 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18live_dahdi: reload on unloaded system, path to dahdi-linuxTzafrir Cohen
* Script runs with -e. But we should not fail if either: - Asterisk was not running - The module dahdi was not loaded. * The configure script of dahdi-tools should get absolute path to dahdi-linux. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5672 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-09Fix pathes in live_dahdi (it is run from the base dir by default)Tzafrir Cohen
Also acknowledge an warning I'm not sure how to fix for now. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5646 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-15live_dahdi: Use the nonrelative path for the dahdi-tools folder in live_dahdi.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5535 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-09Needed to go up one more level for dahdi_tools.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5460 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-09Moving live_dahdi into the build_tools dir.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5459 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-22Need to make sure we check for udevadm in addition to udevinfo.Jason Parker
Some silly person (or people) decided that it wasn't useful to have in their distro... *cough* git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5124 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08minor improvements to uninstall-modules: add the PID to the temporary file ↵Kevin P. Fleming
name to make it less easy to accidentally duplicate, only search directories where we expect that DAHDI or Zaptel modules might be found (known installation locations, even old ones), and always uninstall old DAHDI modules before installing new ones, in case a module is no longer in the tree and shouldn't be left installed git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4575 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08make the uninstall-modules target actually work (except when DESTDIR is ↵Kevin P. Fleming
supplied), and automatically uninstall any Zaptel modules present for the KVERS kernel during installation of DAHDI git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4570 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01remove some more unnecessary stuff, and update genmodconf to no longer ↵Kevin P. Fleming
support 2.4 kernels, have proper name references, etc. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28* builder now works under dahdi as well.Tzafrir Cohen
* ADded test_git_kernel command 'driver_version' Reporting it is of no busyniss of the builder script. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4474 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28Add builder - a script to test-build dahdi vs. various kernel versions.Tzafrir Cohen
Also include other test_kernel_git from http://svn.digium.com/view/zaptel?view=rev&revision=4375 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4473 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28* Generate the modpost program to be able to complete a build.Tzafrir Cohen
* Clean, in order to guarantee everything belongs to this version/build . * "test" is now "build". git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4470 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17get non-hotplug firmware building working againKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4379 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23generate version string properlyKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4343 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-22fix device names, udev rules, sysfs class name, proc directory nameKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4332 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21replace Zaptel with DAHDI, ZAPTEL with DAHDI, ZAPATA with DAHDIKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4322 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21modules build nowKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4318 a0bf4364-ded3-4de4-8d8a-66a801d63aff