unmount the firmware partition after update

This commit is contained in:
Andreas Zweili 2022-03-17 08:57:15 +01:00
parent 89345cb548
commit e040baa6ef
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@
environment.shellAliases = {
raspi-firmware-update = ''
sudo mount /dev/disk/by-label/FIRMWARE /mnt && \
BOOTFS=/mnt FIRMWARE_RELEASE_STATUS=stable sudo -E rpi-eeprom-update -d -a
BOOTFS=/mnt FIRMWARE_RELEASE_STATUS=stable sudo -E rpi-eeprom-update -d -a && \
sudo umount /mnt
'';
};
}