mirror of https://github.com/OpenIPC/composer.git
Update stapler
parent
427bbffa01
commit
d0ab96cffd
|
@ -3,5 +3,6 @@
|
||||||
# Learn more about .gitignore:
|
# Learn more about .gitignore:
|
||||||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
||||||
|
|
||||||
# Assembly folder
|
# Assembly folders
|
||||||
Firmware/
|
Firmware/
|
||||||
|
Output/
|
||||||
|
|
9
stapler
9
stapler
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# OpenIPC (c) | 2022.08.28
|
# OpenIPC (c) | version 2022.08.31
|
||||||
|
|
||||||
# Autoupdate COMPOSER repo
|
# Autoupdate COMPOSER repo
|
||||||
# Remove old building folder (full rebuild)
|
# Remove old building folder (full rebuild)
|
||||||
|
@ -22,13 +22,13 @@ echo_c() {
|
||||||
}
|
}
|
||||||
|
|
||||||
2tftp() {
|
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}
|
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
|
git pull
|
||||||
rm -rf Firmware
|
rm -rf Firmware
|
||||||
git clone --depth=1 https://github.com/OpenIPC/firmware.git 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"
|
echo_c 35 "\nYou can get the new assembled firmware components here:\n"
|
||||||
tree -C output/images
|
tree -C output/images
|
||||||
2tftp output/images/rootfs.squashfs.* output/images/uImage.*
|
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 -
|
cd -
|
||||||
|
|
Loading…
Reference in New Issue