we don't care if user has modified the boot_logo
This commit is contained in:
parent
a98b584623
commit
83ed517f80
2 changed files with 9 additions and 2 deletions
2
makefile
2
makefile
|
|
@ -59,7 +59,7 @@ bundle:
|
|||
echo "$(RELEASE_NAME)" > ./build/SYSTEM/release.txt
|
||||
|
||||
# prepare boot logo
|
||||
cd ./build/SYSTEM/rg35xx/dat && convert boot_logo.png -type truecolor boot_logo.bmp && rm boot_logo.png && gzip boot_logo.bmp
|
||||
cd ./build/SYSTEM/rg35xx/dat && convert boot_logo.png -type truecolor boot_logo.bmp && rm boot_logo.png && gzip -n boot_logo.bmp
|
||||
|
||||
# populate system
|
||||
cp ~/buildroot/output/images/rootfs.ext2 ./build/SYSTEM/rg35xx
|
||||
|
|
|
|||
|
|
@ -23,8 +23,15 @@ fi
|
|||
|
||||
was_updated() {
|
||||
for FILE in /misc/* /misc/*/*; do
|
||||
A_NAME=$(busybox basename "$A_PATH")
|
||||
|
||||
if [[ "$A_NAME" == "boot_logo.bmp.gz" ]]; then
|
||||
# we don't care if the user has changed their boot logo
|
||||
continue
|
||||
fi
|
||||
|
||||
A_PATH=$FILE
|
||||
B_PATH=$SYSTEM_PATH/dat/$(busybox basename "$A_PATH")
|
||||
B_PATH=$SYSTEM_PATH/dat/$A_NAME
|
||||
|
||||
if [ ! -f "$B_PATH" ]; then
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue