1 # SPDX-License-Identifier: GPL-2.0-or-later
4 . /lib/upgrade/common.sh
9 if export_bootdevice && export_partdevice partdev 1; then
11 mount -o rw,noatime "/dev/$partdev" /boot
12 [ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /
17 boot_hook_add preinit_mount_root move_config