mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
updated deploy binaries and install script
Former-commit-id: 49f5751d38ebc56a58720118ed5269d2615d7152
This commit is contained in:
parent
e2983283cb
commit
8ced509298
16
bin/copy_binaries_to_deploy.sh
Executable file
16
bin/copy_binaries_to_deploy.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "$#" -ne 2 ] || ! [ -d "$1" ] || ! [ -d "$2" ]; then
|
||||||
|
echo "Usage: $0 <BUILD-DIR> <REPO-DIR>" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
builddir="$1"
|
||||||
|
repodir="$2"
|
||||||
|
echo build directory = $builddir
|
||||||
|
echo repository root dirrectory = $repodir
|
||||||
|
|
||||||
|
echo Copying binaries
|
||||||
|
cp -v "$builddir"/bin/hyperiond "$repodir"/deploy
|
||||||
|
cp -v "$builddir"/bin/hyperion-remote "$repodir"/deploy
|
||||||
|
cp -v "$builddir"/bin/gpio2spi "$repodir"/deploy
|
@ -17,11 +17,14 @@ initctl stop hyperion
|
|||||||
wget github.com/tvdzwan/hyperion/raw/master/deploy/hyperiond -P /usr/bin/
|
wget github.com/tvdzwan/hyperion/raw/master/deploy/hyperiond -P /usr/bin/
|
||||||
wget github.com/tvdzwan/hyperion/raw/master/deploy/hyperion-remote -P /usr/bin/
|
wget github.com/tvdzwan/hyperion/raw/master/deploy/hyperion-remote -P /usr/bin/
|
||||||
|
|
||||||
|
# Copy the gpio changer (gpio->spi) to the /usr/bin
|
||||||
|
wget github.com/tvdzwan/hyperion/raw/master/deploy/gpio2spi -P /usr/bin/
|
||||||
|
|
||||||
# Copy the hyperion configuration file to /etc
|
# Copy the hyperion configuration file to /etc
|
||||||
wget github.com/tvdzwan/hyperion/raw/master/config/hyperion.config.json -P /etc/
|
wget github.com/tvdzwan/hyperion/raw/master/config/hyperion.config.json -P /etc/
|
||||||
|
|
||||||
# Copy the service control configuration to /etc/int
|
# Copy the service control configuration to /etc/int
|
||||||
wget github.com/tvdzwan/hyperion/raw/master/bin/hyperion.conf -P /etc/init/
|
wget github.com/tvdzwan/hyperion/raw/master/deploy/hyperion.conf -P /etc/init/
|
||||||
|
|
||||||
# Start the hyperion daemon
|
# Start the hyperion daemon
|
||||||
initctl start hyperion
|
initctl start hyperion
|
||||||
|
BIN
deploy/gpio2spi
Executable file
BIN
deploy/gpio2spi
Executable file
Binary file not shown.
Binary file not shown.
BIN
deploy/hyperiond
BIN
deploy/hyperiond
Binary file not shown.
1
deploy/hyperiond.REMOVED.git-id
Normal file
1
deploy/hyperiond.REMOVED.git-id
Normal file
@ -0,0 +1 @@
|
|||||||
|
6d2d16413b637a51d5b5e254ccdd86f0bebae278
|
Loading…
Reference in New Issue
Block a user