mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added creation of symbolic link /usr/bin/hyperion-v4l2 in install script
Former-commit-id: f45b8424968aa7ef5f0ca96cd716b6e3cf3b622a
This commit is contained in:
parent
ad8afb0f12
commit
2085e3909f
@ -36,7 +36,7 @@ if [ $IS_OPENELEC -eq 1 ]; then
|
|||||||
# OpenELEC has a readonly file system. Use alternative location
|
# OpenELEC has a readonly file system. Use alternative location
|
||||||
curl --get https://raw.github.com/tvdzwan/hyperion/master/deploy/hyperion.tar.gz | tar -C /storage -xz
|
curl --get https://raw.github.com/tvdzwan/hyperion/master/deploy/hyperion.tar.gz | tar -C /storage -xz
|
||||||
curl --get https://raw.github.com/tvdzwan/hyperion/master/deploy/hyperion.deps.openelec-rpi.tar.gz | tar -C /storage/hyperion/bin -xz
|
curl --get https://raw.github.com/tvdzwan/hyperion/master/deploy/hyperion.deps.openelec-rpi.tar.gz | tar -C /storage/hyperion/bin -xz
|
||||||
|
|
||||||
# modify the default config to have a correct effect path
|
# modify the default config to have a correct effect path
|
||||||
sed -i 's:/opt:/storage:g' /storage/hyperion/config/hyperion.config.json
|
sed -i 's:/opt:/storage:g' /storage/hyperion/config/hyperion.config.json
|
||||||
else
|
else
|
||||||
@ -47,6 +47,7 @@ fi
|
|||||||
if [ $IS_OPENELEC -ne 1 ]; then
|
if [ $IS_OPENELEC -ne 1 ]; then
|
||||||
ln -fs /opt/hyperion/bin/hyperiond /usr/bin/hyperiond
|
ln -fs /opt/hyperion/bin/hyperiond /usr/bin/hyperiond
|
||||||
ln -fs /opt/hyperion/bin/hyperion-remote /usr/bin/hyperion-remote
|
ln -fs /opt/hyperion/bin/hyperion-remote /usr/bin/hyperion-remote
|
||||||
|
ln -fs /opt/hyperion/bin/hyperion-v4l2 /usr/bin/hyperion-v4l2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create link to the gpio changer (gpio->spi)
|
# create link to the gpio changer (gpio->spi)
|
||||||
@ -62,7 +63,6 @@ if [ $IS_OPENELEC -eq 1 ]; then
|
|||||||
else
|
else
|
||||||
ln -s /opt/hyperion/config/hyperion.config.json /etc/hyperion.config.json
|
ln -s /opt/hyperion/config/hyperion.config.json /etc/hyperion.config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Copy the service control configuration to /etc/int
|
# Copy the service control configuration to /etc/int
|
||||||
if [ $USE_INITCTL -eq 1 ]; then
|
if [ $USE_INITCTL -eq 1 ]; then
|
||||||
|
@ -1 +1 @@
|
|||||||
3ffb1a5d95dabb4c6a7b1ac40403ce5d393fe646
|
08d42deff1de4c4296e4c6e22c783a0096ed3396
|
@ -369,7 +369,6 @@ void V4L2Grabber::init_device(VideoStandard videoStandard, int input)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check pixel format
|
// check pixel format
|
||||||
|
|
||||||
switch (fmt.fmt.pix.pixelformat)
|
switch (fmt.fmt.pix.pixelformat)
|
||||||
{
|
{
|
||||||
case V4L2_PIX_FMT_UYVY:
|
case V4L2_PIX_FMT_UYVY:
|
||||||
|
Loading…
Reference in New Issue
Block a user