提交v2.2.2

This commit is contained in:
xin
2025-11-27 18:50:16 +08:00
parent 612bf24b15
commit 9e003b2ee7
14 changed files with 76 additions and 14 deletions

View File

@ -1,4 +1,5 @@
Package: TowerSif
Architecture: armhf
Maintainer: rlx, tc
Depends: systemd, tzdata
Description: test

View File

@ -3,10 +3,10 @@
echo "install airbornesystem ok"
sed -i '/\/root\/start/d' /etc/rc.local
sed -i '/^exit 0/i/root/start.sh &' /etc/rc.local
sudo apt-get install -y timedatectl
#sudo apt-get install -y timedatectl
timedatectl set-timezone Asia/Shanghai
date -R
sudo hwclock -w -f /dev/rtc0
sudo hwclock -w -f /dev/rtc1
#echo "/home/pi/AirbroneSystem/lib" > /etc/ld.so.conf.d/mylib.conf
#echo "/home/pi/AirbroneSystem/libreh" > /etc/ld.so.conf.d/mylib1.conf
## 获取系统内存信息,并提取总内存大小

7
dpkg/preinst Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
# 删除可能引起冲突的文件
if [ -f /home/data/ChangeLog.md ]; then
echo "Removing conflicting ChangeLog.md file..."
rm -f /home/data/ChangeLog.md
fi