aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/bsdiff/Makefile
diff options
context:
space:
mode:
authorJohann Neuhauser <johann@it-neuhauser.de>2018-08-13 15:07:55 +0200
committerMathias Kresin <dev@kresin.me>2018-08-14 10:19:37 +0200
commitcc35c91f56339a46138de84b680e33f0c633acb7 (patch)
treef024a543b173b4c1ea3afe0bb30daa9ad1f6cb77 /package/utils/bsdiff/Makefile
parent9c6c7d11c795cd632c4d736577d7bb65ed35d729 (diff)
downloadupstream-cc35c91f56339a46138de84b680e33f0c633acb7.tar.gz
upstream-cc35c91f56339a46138de84b680e33f0c633acb7.tar.bz2
upstream-cc35c91f56339a46138de84b680e33f0c633acb7.zip
ath79: fix sysupgrade TP-Link WR841v9
Remove SUPPORTED_DEVICES from wr841-v9 because it´s not needed and for consistency rename everything to tl-wr841-v9. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
Diffstat (limited to 'package/utils/bsdiff/Makefile')
0 files changed, 0 insertions, 0 deletions
*/ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/sh

src='./install'
if [ -d ./dist ]; then
  src='./dist/install'
fi

if ! [ -d $src ]; then
  echo "ERROR: Could not find a valid distribution directory."
  echo "       If this is a source-only release, try 'make dist'."
  exit 1
fi

dst='/'
if [ $# -ne 0 ]; then 
  dst=$1
fi

if ! [ -d $dst ]; then
  echo "ERROR: You must specify a valid install directory."
  echo "       The specified directory '$dst' is not valid."
  exit 1
fi

echo "Installing Xen from '$src' to '$dst'..."
cd $src/boot
(echo '2.6.*' -2.6; echo '2.4.*' -2.4; echo '2.*.*' '') | while read m v
do
  l=$(eval ls -t vmlinuz-$m-xen0 2>/dev/null | head -n 1)
  [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xen0
  l=$(eval ls -t vmlinuz-$m-xenU 2>/dev/null | head -n 1)
  [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
done
cd -
cp -fdR $src/* $dst
echo "All done."

echo "Checking to see whether prerequisite tools are installed..."
cd $src/../check
./chk install
echo "All done."

exit 0