diff options
author | Tim Rice <tim@multitalents.net> | 2002-03-17 14:05:24 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2002-03-17 14:05:24 -0800 |
commit | 3a4234699e662e1e611b31829ea898029b66a6f4 (patch) | |
tree | 28970ddb14951a7f817ba00c47a412f64e99ad2a /contrib/solaris/buildpkg.sh | |
parent | 88f2ab5efb73cdce241b15cf2bf7ae477f8dd3ed (diff) |
[contrib/aix/buildbff.sh contrib/aix/inventory.sh] AIX package
build fixes. Patch by Darren Tucker <dtucker@zip.com.au>
[contrib/solaris/buildpkg.sh] add missing dirs to SYSTEM_DIR. Have
postinstall check for $piddir and add if necessary.
Diffstat (limited to 'contrib/solaris/buildpkg.sh')
-rwxr-xr-x | contrib/solaris/buildpkg.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/solaris/buildpkg.sh b/contrib/solaris/buildpkg.sh index 20f8544aa..1be6ed8d1 100755 --- a/contrib/solaris/buildpkg.sh +++ b/contrib/solaris/buildpkg.sh | |||
@@ -29,6 +29,7 @@ SYSTEM_DIR="/etc \ | |||
29 | /etc/rc0.d \ | 29 | /etc/rc0.d \ |
30 | /etc/rc1.d \ | 30 | /etc/rc1.d \ |
31 | /etc/rc2.d \ | 31 | /etc/rc2.d \ |
32 | /etc/opt \ | ||
32 | /opt \ | 33 | /opt \ |
33 | /opt/bin \ | 34 | /opt/bin \ |
34 | /usr \ | 35 | /usr \ |
@@ -49,6 +50,7 @@ SYSTEM_DIR="/etc \ | |||
49 | /usr/local/sbin \ | 50 | /usr/local/sbin \ |
50 | /usr/local/share \ | 51 | /usr/local/share \ |
51 | /var \ | 52 | /var \ |
53 | /var/opt \ | ||
52 | /var/run \ | 54 | /var/run \ |
53 | /var/tmp \ | 55 | /var/tmp \ |
54 | /tmp" | 56 | /tmp" |
@@ -201,6 +203,9 @@ installf ${PKGNAME} $TEST_DIR/etc/rcS.d/K30${SYSVINIT_NAME}=$TEST_DIR/etc/init.d | |||
201 | installf ${PKGNAME} $TEST_DIR/etc/rc2.d/S98${SYSVINIT_NAME}=$TEST_DIR/etc/init.d/${SYSVINIT_NAME} l | 203 | installf ${PKGNAME} $TEST_DIR/etc/rc2.d/S98${SYSVINIT_NAME}=$TEST_DIR/etc/init.d/${SYSVINIT_NAME} l |
202 | fi | 204 | fi |
203 | 205 | ||
206 | # If piddir doesn't exist we add it. (Ie. --with-pid-dir=/var/opt/ssh) | ||
207 | [ -d $piddir ] || installf ${PKGNAME} $TEST_DIR$piddir d 755 root sys | ||
208 | |||
204 | installf -f ${PKGNAME} | 209 | installf -f ${PKGNAME} |
205 | 210 | ||
206 | [ "\${POST_INS_START}" = "yes" ] && ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start | 211 | [ "\${POST_INS_START}" = "yes" ] && ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start |