Skip to content

Commit

Permalink
MD5 sum: changing default checking as it will fail on base-files
Browse files Browse the repository at this point in the history
Base files are changed during the process.

FORCE_CHECK_MD5_PACKAGES=yes turns checking back on.
  • Loading branch information
igorpecovnik committed Sep 26, 2024
1 parent 31e8892 commit f8414bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/rootfs/rootfs-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function create_new_rootfs_cache_via_debootstrap() {

# stage: check md5 sum of installed packages. Just in case. @TODO: rpardini: this should also be done when a cache is used, not only when it is created
# lets check only for supported targets only unless forced
if [[ "${DISTRIBUTION_STATUS}" == "supported" || "${FORCE_CHECK_MD5_PACKAGES:-"no"}" == "yes" ]]; then
if [[ "${DISTRIBUTION_STATUS}" == "supported" && "${FORCE_CHECK_MD5_PACKAGES:-"no"}" == "yes" ]]; then
display_alert "Checking MD5 sum of installed packages" "debsums" "info"
declare -g if_error_detail_message="Check MD5 sum of installed packages failed"
chroot_sdcard debsums --silent
Expand Down

0 comments on commit f8414bb

Please sign in to comment.