File tree Expand file tree Collapse file tree 4 files changed +45
-4
lines changed Expand file tree Collapse file tree 4 files changed +45
-4
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,25 @@ RUN bash -c "echo 'deb http://deb.debian.org/debian/ bookworm-backports main' >/
26
26
RUN apt-get update
27
27
RUN apt-get upgrade -y
28
28
29
- # Install modemmanager
30
- RUN apt-get install -y modemmanager # -t bullseye-backports
29
+ # # Install libqmi for modemmanager
30
+ # RUN apt-get install -y libqmi-glib5 libqmi-utils libqmi-proxy libqmi-glib-dev gir1.2-qmi-1.0
31
+ #
32
+ # # Install modemmanager
33
+ # RUN apt-get install -y cmake bash-completion gnome-common gobject-introspection intltool \
34
+ # libdbus-1-dev libgirepository1.0-dev libgudev-1.0-dev libmbim-glib-dev libpolkit-gobject-1-dev \
35
+ # libsystemd-dev python3-dbus python3-gi
36
+ # # Remove plugins that didn't build 'cause they depend on mbim
37
+ # RUN bash -c "cd /usr/lib/arm-linux-gnueabihf/ModemManager/; rm *foxconn* *fibocom*"
38
+ #
39
+ # RUN cd /tmp
40
+ # RUN git clone http://raspbian.raspberrypi.com/raspbian/pool/main/m/modemmanager/modemmanager_1.22.0.orig.tar.xz
41
+ # RUN cd modemmanager-1.22.0
42
+ # RUN meson setup build --prefix=/usr --buildtype=release --sysconfdir=/etc -Dmbim=false -Dgtk_doc=false
43
+ # RUN ninja -C build install
44
+ # RUN cd
45
+
46
+ # Install from backports
47
+ #RUN apt-get install -y modemmanager # -t bullseye-backports
31
48
RUN apt-get install -y dhcpcd -t bookworm-backports
32
49
33
50
# Install some apps, they should be pulled in via dependencies but doing it here causes the
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ BASE_IMG=base-$TYPE.img
40
40
if [[ -f images/$BASE_ZIP ]]; then
41
41
echo " "
42
42
echo " *** Extracting base image: $BASE_IMG "
43
- (cd images; rm -f $BASE_IMG ; 7z x -bd $BASE_ZIP $BASE_IMG )
43
+ # (cd images; rm -f $BASE_IMG; 7z x -bd $BASE_ZIP $BASE_IMG)
44
44
else
45
45
echo images/$BASE_ZIP not found
46
46
echo " "
Original file line number Diff line number Diff line change 3
3
4
4
# dockerhub image for pimod
5
5
#PIMOD_IMAGE=tvoneicken/pimod:master
6
- PIMOD_IMAGE=nature40/pimod:v0.6.0
6
+ PIMOD_IMAGE=nature40/pimod:v0.6.1
7
7
8
8
#DOCKCROSS_IMAGE=tvoneicken/sensorgnome-dockcross:armv7-rpi-bookworm-main
9
9
Original file line number Diff line number Diff line change @@ -28,6 +28,30 @@ RUN gpg --no-default-keyring --keyring /usr/share/keyrings/sensorgnome.gpg --lis
28
28
RUN bash -c "echo 'deb [signed-by=/usr/share/keyrings/sensorgnome.gpg] https://sensorgnome.s3.amazonaws.com/' $CODENAME main >/etc/apt/sources.list.d/sensorgnome.list"
29
29
RUN apt update
30
30
31
+ # Install libqmi
32
+ RUN apt-get install -y devscripts meson bash-completion gobject-introspection \
33
+ libgirepository1.0-dev libglib2.0-dev libgudev-1.0-dev libmbim-glib-dev \
34
+ libqrtr-glib-dev gtk-doc-tools help2man glib-2.0 libglib2.0 libglib2.0-doc
35
+ WORKDIR /root
36
+ RUN git clone https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
37
+ WORKDIR /root/libqmi
38
+ RUN git checkout 1.35.6-dev
39
+ RUN meson setup build --prefix=/usr -Dmbim_qmux=false -Dqrtr=false -Dbash_completion=false --buildtype=release
40
+ RUN ninja -C build install
41
+
42
+ # Install modemmanager
43
+ RUN apt-get install -y meson cmake bash-completion gnome-common gobject-introspection intltool \
44
+ libdbus-1-dev libgirepository1.0-dev libgudev-1.0-dev libpolkit-gobject-1-dev \
45
+ libsystemd-dev python3-dbus python3-gi
46
+ # Remove plugins that didn't build 'cause they depend on mbim
47
+ #RUN bash -c "cd /usr/lib/arm-linux-gnueabihf/ModemManager/; rm *foxconn* *fibocom*"
48
+ WORKDIR /root
49
+ RUN bash -c 'curl https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/archive/1.23.12-dev/ModemManager-1.23.12-dev.tar.gz | tar zxf -'
50
+ WORKDIR /root/ModemManager-1.23.12-dev
51
+ RUN meson setup build --prefix=/usr --buildtype=release --sysconfdir=/etc -Dmbim=false -Dqrtr=false -Dgtk_doc=false -Dbash_completion=false -Dsystemd_suspend_resume=false
52
+ RUN ninja -C build install
53
+ WORKDIR /root
54
+
31
55
# Install sensorgnome packages (the has-double line can be deleted when no pre 2023-080 SG exists)
32
56
RUN dpkg --print-architecture
33
57
RUN mkdir -p /opt/sensorgnome/upgrader
You can’t perform that action at this time.
0 commit comments