Thu, 02 Aug 2012 22:07:29 +0200
Correct and update smf(5) logic to accommodate latest vendor version.
Support older and newer platforms by condtionally installing the
manifest to either /var/svc or cacnonical /lib/svc, and avoid usage of
svccfg(1) delete now considered risky. Leverage create_default_instance
smf macro to specify default instance instead of using instance element.
Provide a refresh execution method along with start and stop. Neither
change permissions of manifest nor call the redundant svcadm(1) disable.
1 #! /bin/sh
3 #
4 # Build a new bootstrap package,
5 # producing openpkg-<date>-<date>.src.sh
6 #
7 TOPDIR=openpkg
8 TOPUSE=openpkg
9 BASEID=900
10 time ./openpkg.boot -bs --prefix=/$TOPDIR \
11 --tag=$TOPDIR --user=$TOPUSE --group=$TOPUSE \
12 --muid=${BASEID}1 --ruid=${BASEID}2 --nuid=${BASEID}3 \
13 --mgid=${BASEID}1 --rgid=${BASEID}2 --ngid=${BASEID}3 \
14 --use_tar=/$TOPDIR/bin/tar --use_make=/$TOPDIR/bin/make \
15 --use_cc=/$TOPDIR/bin/cc --use_ar=/$TOPDIR/bin/ar \
16 --use_ld=/$TOPDIR/bin/ld --use_as=/$TOPDIR/bin/as \
17 --use_strip=/$TOPDIR/bin/strip \
18 2>&1 | tee buildquick.log