diff --git a/makefile b/makefile index 15f48aa..f0fd27c 100644 --- a/makefile +++ b/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 diff --git a/src/install/install.sh b/src/install/install.sh index e502090..8cb63e0 100755 --- a/src/install/install.sh +++ b/src/install/install.sh @@ -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