[webapi]Upadate pack.sh script in all-in-one packages to support 'shared' mode.
Merge pull request #1275 from jiajiax/jiajiax/aio_shared_mode

[webapi]Upadate pack.sh script in all-in-one packages to support 'shared' mode.