If you change the script or the service manifest, use this procedure to install the update.
$ cp first-boot-script-svc-manifest.xml proto/lib/svc/manifest/site $ cp first-boot-script.sh proto/opt/site
In the package manifest, change the value of the pkg.fmri attribute to the following, for example:
[email protected],5.11-0.1
Publish the new version of the package to the repository.
$ pkgsend publish -d ./proto -s ./firstbootrepo first-boot-script.p5m pkg://firstboot/[email protected],5.11-0.1:2013123T231948Z PUBLISHED
Use the pkg list -af command to make sure you can access the new version. You might need to use the pkg refresh firstboot command to update the package list. Use the pkg update command to update the package.