scripts/gen_image_generic.sh: move from x86/image