diff options
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 |