base-files: verify nand sysupgrade images
[openwrt/openwrt.git] / package / base-files / files / lib / upgrade / stage2
index 97e0b881e9a0b5cc43db2f1184be373be63bfc7d..6314d4064671ba3e88eaef4576b7c188851e740a 100755 (executable)
@@ -39,7 +39,7 @@ switch_to_ramfs() {
        for binary in \
                /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount    \
                pivot_root mount_root reboot sync kill sleep            \
-               md5sum hexdump cat zcat dd tar                          \
+               md5sum hexdump cat zcat dd tar gzip                     \
                ls basename find cp mv rm mkdir rmdir mknod touch chmod \
                '[' printf wc grep awk sed cut sort                     \
                mtd partx losetup mkfs.ext4 nandwrite flash_erase       \