diff options
-rw-r--r-- | README | 23 | ||||
-rwxr-xr-x | live_zap | 7 |
2 files changed, 30 insertions, 0 deletions
@@ -285,6 +285,29 @@ Testing on a different machine: ./live_zap unload ./live_zap load +live_zap also has a command called "exec" to execute commands from the +installed environment. e.g.: + + ./live_zap exec lszaptel + +This sets PATH, PERL5LIB (for the Zaptel-perl modules) and some other +settings. + +For Xorcom Astribank you may need to load a different version of +firmware from that installed on the system. In this case, start with +editing the real system's /etc/default/zaptel (on Debian) or +/etc/sysconfig/zaptel (on RedHat/SUSE) and set: + + XPP_HOTPLUG_DISABLED=yes + +and then run: + + ./live_zap unload + ./live_zap exec ./live/usr/share/zaptel/xpp_fxloader reset + ./live_zap exec ./live/usr/share/zaptel/xpp_fxloader load + # wait a few seconds, see the output of lsusb + ./live_zap load + ./configure Options ^^^^^^^^^^^^^^^^^^^ @@ -30,6 +30,13 @@ export PATH PERL5LIB="$DESTDIR/$PERLLIBDIR" export PERL5LIB +# used in xpp_fxloader: +FIRMWARE_DIR="$DESTDIR/usr/share/zaptel" +export FIRMWARE_DIR + +# make sure Astribank initialization scripts are from our tree. +xpp_ARGS="$xpp_ARGS initdir=$FIRMWARE_DIR" + # the same as xpp/utils/zaptel_drivers . # With the remote mode, I can't rely on files in the source directory. zaptel_drivers() { |