Add zigbee2mqtt
Add gotify (not work)
This commit is contained in:
parent
010f073bb0
commit
ed80d22552
27 changed files with 181 additions and 24 deletions
|
@ -63,7 +63,7 @@ step4(){
|
|||
step5(){
|
||||
rm -fr dist/${APP}
|
||||
mkdir dist/${APP}
|
||||
cp -fr ressources/${APP}/rootfs/* dist/$APP/
|
||||
cp -pfr ressources/${APP}/rootfs/* dist/$APP/
|
||||
bash ressources/${APP}/makedeb ${CACHE_STEP4} dist/${APP} ${GIT_VERSION}
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" dist/${APP}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build dist/${APP} dist
|
||||
|
@ -78,23 +78,36 @@ allstep(){
|
|||
step5
|
||||
}
|
||||
|
||||
StartFromStep1(){
|
||||
DeleteStep1(){
|
||||
rm -fr ${CACHE_STEP1} ${CACHE_STEP2} ${CACHE_STEP3} ${CACHE_STEP4}
|
||||
}
|
||||
DeleteStep2(){
|
||||
rm -fr ${CACHE_STEP2} ${CACHE_STEP3} ${CACHE_STEP4}
|
||||
}
|
||||
DeleteStep3(){
|
||||
rm -fr ${CACHE_STEP3} ${CACHE_STEP4}
|
||||
}
|
||||
DeleteStep4(){
|
||||
rm -fr ${CACHE_STEP4}
|
||||
}
|
||||
|
||||
StartFromStep1(){
|
||||
DeleteStep1
|
||||
allstep
|
||||
}
|
||||
|
||||
StartFromStep2(){
|
||||
rm -fr ${CACHE_STEP2} ${CACHE_STEP3} ${CACHE_STEP4}
|
||||
DeleteStep2
|
||||
allstep
|
||||
}
|
||||
|
||||
StartFromStep3(){
|
||||
rm -fr ${CACHE_STEP3} ${CACHE_STEP4}
|
||||
DeleteStep3
|
||||
allstep
|
||||
}
|
||||
|
||||
StartFromStep4(){
|
||||
rm -fr ${CACHE_STEP4}
|
||||
DeleteStep4
|
||||
allstep
|
||||
}
|
||||
|
||||
|
@ -111,5 +124,15 @@ GotoStep3(){
|
|||
}
|
||||
|
||||
GotoStep4(){
|
||||
mount -t proc proc ${CACHE_STEP4}/proc/
|
||||
chroot ${CACHE_STEP4}
|
||||
umount ${CACHE_STEP4}/proc/
|
||||
}
|
||||
|
||||
Clean(){
|
||||
rm -fr cache/*
|
||||
}
|
||||
|
||||
CleanAll(){
|
||||
rm -fr cache/*
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue