You can use attended sysupgrade to include the packages in your upgrade image so you don't need to manually install packages after an upgrade.
Sysupgrade also has the -k option to create a list of packages during upgrade
Also please read the following topic about chatgpt
6 Likes