Commit 5c040f2 1 parent b85de7b commit 5c040f2 Copy full SHA for 5c040f2
File tree 4 files changed +14
-2
lines changed
4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 39
39
# Camera-streamer repo
40
40
CSTREAMER_PATH=" camera-streamer"
41
41
if [[ -z " ${CROWSNEST_CAMERA_STREAMER_REPO_SHIP} " ]]; then
42
- CROWSNEST_CAMERA_STREAMER_REPO_SHIP=" https://github.com/ayufan-research /camera-streamer.git"
42
+ CROWSNEST_CAMERA_STREAMER_REPO_SHIP=" https://github.com/ayufan/camera-streamer.git"
43
43
fi
44
44
if [[ -z " ${CROWSNEST_CAMERA_STREAMER_REPO_BRANCH} " ]]; then
45
45
CROWSNEST_CAMERA_STREAMER_REPO_BRANCH=" master"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ CN_CONFIG_ENVPATH="${CN_CONFIG_ROOTPATH}/systemd"
28
28
CN_MOONRAKER_CONFIG_PATH=" ${CN_CONFIG_CONFIGPATH} /moonraker.conf"
29
29
CN_USTREAMER_REPO=" https://github.com/pikvm/ustreamer.git"
30
30
CN_USTREAMER_BRANCH=" master"
31
- CN_CAMERA_STREAMER_REPO=" https://github.com/ayufan-research /camera-streamer.git"
31
+ CN_CAMERA_STREAMER_REPO=" https://github.com/ayufan/camera-streamer.git"
32
32
CN_CAMERA_STREAMER_BRANCH=" master"
33
33
34
34
# ## Messages
Original file line number Diff line number Diff line change @@ -128,6 +128,12 @@ main() {
128
128
129
129
add_group_video
130
130
131
+ if [[ " $( is_bookworm) " = " 1" ]]; then
132
+ msg " Bookworm detected!"
133
+ msg " Using main branch of camera-streamer for Bookworm..."
134
+ CROWSNEST_CAMERA_STREAMER_REPO_BRANCH=" main"
135
+ fi
136
+
131
137
build_apps
132
138
133
139
if [[ " ${CROWSNEST_UNATTENDED} " = " 0" ]]; then
Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ is_buster() {
34
34
fi
35
35
}
36
36
37
+ is_bookworm () {
38
+ if [[ -f /etc/os-release ]]; then
39
+ grep -cq " bookworm" /etc/os-release & > /dev/null && echo " 1" || echo " 0"
40
+ fi
41
+ }
42
+
37
43
is_raspbian () {
38
44
if [[ -f /boot/config.txt ]] && [[ -f /etc/rpi-issue ]]; then
39
45
echo " 1"
You can’t perform that action at this time.
0 commit comments