mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-12-16 19:43:32 +08:00
提交v2.2.2
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
Package: TowerSif
|
||||
Architecture: armhf
|
||||
Maintainer: rlx, tc
|
||||
Depends: systemd, tzdata
|
||||
Description: test
|
||||
|
||||
@ -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
7
dpkg/preinst
Normal 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
|
||||
Reference in New Issue
Block a user