#!/bin/sh # legacy u-boot images are no longer necessary, but were generated outside of # packaging so remove them here to prevent a failed upgrade if /boot is too # full # see: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2449 rm /boot/uImage-postmarketos-allwinner 2>/dev/null 1>&2 rm /boot/uInitrd-postmarketos-allwinner 2>/dev/null 1>&2