scripts: sync with master

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
bump: v3.4.47: boot tested on xm

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>