mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix createrelease.sh
Former-commit-id: d004178819bb9ac41b042149da3b5ef30a43d890
This commit is contained in:
parent
b3e929af3e
commit
33d7e54f1f
@ -15,59 +15,6 @@ if ! [ -d "$builddir" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Create RPI .tar.gz
|
|
||||||
if [ "$buildid" = "rpi" ]; then
|
|
||||||
outfile="$repodir/deploy/hyperion_$buildid.tar.gz"
|
|
||||||
echo create $outfile
|
|
||||||
|
|
||||||
tar --create --verbose --gzip --absolute-names --show-transformed-names --ignore-failed-read\
|
|
||||||
--file "$outfile" \
|
|
||||||
--transform "s:$builddir/bin/:hyperion/bin/:" \
|
|
||||||
--transform "s:$repodir/effects/:hyperion/effects/:" \
|
|
||||||
--transform "s:$repodir/config/:hyperion/config/:" \
|
|
||||||
--transform "s:$repodir/bin/service/hyperion.init.sh:hyperion/init.d/hyperion.init.sh:" \
|
|
||||||
--transform "s:$repodir/bin/service/hyperion.systemd.sh:hyperion/init.d/hyperion.systemd.sh:" \
|
|
||||||
--transform "s:$repodir/bin/service/hyperion.initctl.sh:hyperion/init.d/hyperion.initctl.sh:" \
|
|
||||||
--transform "s://:/:g" \
|
|
||||||
"$builddir/bin/hyperiond" \
|
|
||||||
"$builddir/bin/hyperion-remote" \
|
|
||||||
"$builddir/bin/hyperion-v4l2" \
|
|
||||||
"$builddir/bin/hyperion-dispmanx" \
|
|
||||||
"$repodir/effects/"* \
|
|
||||||
"$repodir/bin/service/hyperion.init.sh" \
|
|
||||||
"$repodir/bin/service/hyperion.systemd.sh" \
|
|
||||||
"$repodir/bin/service/hyperion.initctl.sh" \
|
|
||||||
"$repodir/config/hyperion.config.json"
|
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
#Create Wetek imx6 .tar.gz
|
|
||||||
if [ "$buildid" = "wetek" ] || [ "$buildid" = "imx6" ]; then
|
|
||||||
outfile="$repodir/deploy/hyperion_$buildid.tar.gz"
|
|
||||||
echo create $outfile
|
|
||||||
|
|
||||||
tar --create --verbose --gzip --absolute-names --show-transformed-names --ignore-failed-read\
|
|
||||||
--file "$outfile" \
|
|
||||||
--transform "s:$builddir/bin/:hyperion/bin/:" \
|
|
||||||
--transform "s:$repodir/effects/:hyperion/effects/:" \
|
|
||||||
--transform "s:$repodir/config/:hyperion/config/:" \
|
|
||||||
--transform "s:$repodir/bin/service/hyperion.init.sh:hyperion/init.d/hyperion.init.sh:" \
|
|
||||||
--transform "s:$repodir/bin/service/hyperion.systemd.sh:hyperion/init.d/hyperion.systemd.sh:" \
|
|
||||||
--transform "s:$repodir/bin/service/hyperion.initctl.sh:hyperion/init.d/hyperion.initctl.sh:" \
|
|
||||||
--transform "s://:/:g" \
|
|
||||||
"$builddir/bin/hyperiond" \
|
|
||||||
"$builddir/bin/hyperion-remote" \
|
|
||||||
"$builddir/bin/hyperion-v4l2" \
|
|
||||||
"$repodir/effects/"* \
|
|
||||||
"$repodir/bin/service/hyperion.init.sh" \
|
|
||||||
"$repodir/bin/service/hyperion.systemd.sh" \
|
|
||||||
"$repodir/bin/service/hyperion.initctl.sh" \
|
|
||||||
"$repodir/config/hyperion.config.json"
|
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
#Create x32 and x64 .tar.gz
|
|
||||||
if [ "$buildid" = "x32" ] || [ "$buildid" = "x64" ]; then
|
|
||||||
outfile="$repodir/deploy/hyperion_$buildid.tar.gz"
|
outfile="$repodir/deploy/hyperion_$buildid.tar.gz"
|
||||||
echo create $outfile
|
echo create $outfile
|
||||||
|
|
||||||
@ -84,10 +31,10 @@ tar --create --verbose --gzip --absolute-names --show-transformed-names --ignore
|
|||||||
"$builddir/bin/hyperion-remote" \
|
"$builddir/bin/hyperion-remote" \
|
||||||
"$builddir/bin/hyperion-v4l2" \
|
"$builddir/bin/hyperion-v4l2" \
|
||||||
"$builddir/bin/hyperion-x11" \
|
"$builddir/bin/hyperion-x11" \
|
||||||
|
"$builddir/bin/hyperion-dispmanx" \
|
||||||
"$repodir/effects/"* \
|
"$repodir/effects/"* \
|
||||||
"$repodir/bin/service/hyperion.init.sh" \
|
"$repodir/bin/service/hyperion.init.sh" \
|
||||||
"$repodir/bin/service/hyperion.systemd.sh" \
|
"$repodir/bin/service/hyperion.systemd.sh" \
|
||||||
"$repodir/bin/service/hyperion.initctl.sh" \
|
"$repodir/bin/service/hyperion.initctl.sh" \
|
||||||
"$repodir/config/hyperion.config.json"
|
"$repodir/config/hyperion.config.json"
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user