tools: drop mkpkg_linux-amlogic

This commit is contained in:
kszaq 2019-05-01 22:51:58 +02:00
parent f48eef6987
commit 5b43ef7cb1

View File

@ -1,28 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
echo "getting sources..."
if [ ! -d linux-amlogic.git ]; then
git clone https://github.com/codesnake/linux linux-amlogic.git
fi
cd linux-amlogic.git
git pull
GIT_REV=`git log -n1 --format=%H`
cd ..
echo "copying sources..."
rm -rf linux-amlogic-3.10-$GIT_REV
cp -R linux-amlogic.git linux-amlogic-3.10-$GIT_REV
echo "cleaning sources..."
rm -rf linux-amlogic-3.10-$GIT_REV/.git
echo "packing sources..."
tar cvJf linux-amlogic-3.10-$GIT_REV.tar.xz linux-amlogic-3.10-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf linux-amlogic-3.10-$GIT_REV