Update stapler

pull/1/head
Igor Zalatov (from Citadel PC) 2022-08-31 18:32:11 +03:00
parent 427bbffa01
commit d0ab96cffd
2 changed files with 8 additions and 4 deletions

3
.gitignore vendored
View File

@ -3,5 +3,6 @@
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
# Assembly folder
# Assembly folders
Firmware/
Output/

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
# OpenIPC (c) | 2022.08.28
# OpenIPC (c) | version 2022.08.31
# Autoupdate COMPOSER repo
# Remove old building folder (full rebuild)
@ -22,13 +22,13 @@ echo_c() {
}
2tftp() {
echo_c 32 "\nStart transferring files to the TFTP server...\n"
echo_c 32 "\nStart transferring files to the TFTP server ...\n"
scp -r $@ ${TFTPSRV}
}
echo_c 32 "\nAttention, let's start working on the ${PROJECT} project...\n"
echo_c 32 "\nAttention, let's start working on the ${PROJECT} project ...\n"
git pull
rm -rf Firmware
git clone --depth=1 https://github.com/OpenIPC/firmware.git Firmware
@ -38,4 +38,7 @@ cd Firmware
echo_c 35 "\nYou can get the new assembled firmware components here:\n"
tree -C output/images
2tftp output/images/rootfs.squashfs.* output/images/uImage.*
mkdir ../Output/${Project}_$(date +"%Y%m%d")
cp -av output/images/rootfs.squashfs.* output/images/uImage.*
echo_c 35 "\nRollback to home ...\n"
cd -