Skip to content

Commit f615c2e

Browse files
authored
Merge pull request #15 from j005u/main
Fixed font install path
2 parents b4b21df + 9a1c977 commit f615c2e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Makefile.dji

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ goggle_ipk: osd_dji
4747
cp -r ipk/goggle/control ipk/goggle/build/
4848
cp osd_dji ipk/goggle/build/data/opt/bin
4949
chmod +x ipk/goggle/build/data/opt/bin/osd_dji
50-
cp font.bin ipk/goggle/build/data/opt/fonts
50+
mkdir -p ipk/goggle/build/data/opt/fonts
51+
cp font.bin ipk/goggle/build/data/opt/fonts/
5152
cd ipk/goggle/build/control && tar czvf ../control.tar.gz .
5253
cd ipk/goggle/build/data && tar czvf ../data.tar.gz .
5354
cd ipk/goggle/build && tar czvf "../../${IPK_NAME}" ./control.tar.gz ./data.tar.gz ./debian-binary

ipk/goggle/control/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: msp-osd-goggles
2-
Version: 0.1.0
2+
Version: 0.1.1
33
Maintainer: bri3d
44
Description: MSP OSD service for the DJI HD FPV goggles.
55
Architecture: armv7-3.2

ipk/goggle/control/preinst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/system/bin/sh
2+
if [[ -f /opt/fonts ]]; then
3+
rm -f /opt/fonts
4+
fi
5+
/opt/sbin/dinitctl -u disable msp-osd-goggles || true

0 commit comments

Comments
 (0)