Check if device was renamed
In pmbootstrap init
, if the previously used device doesn't exist, exit with an error and a link to https://wiki.postmarketos.org/wiki/Renamed_Devices.
This is far from foolproof. There is still a different error whenever pmb.parse.deviceinfo()
is run, which includes all pmbootstrap
actions other than init
, config
, and bootimg_analyze
.