version 1.7, 2025/01/21 21:17:08
|
version 1.9, 2025/01/21 22:41:22
|
Line 90 T_GID=`echo ${TGROUP} | cut -d: -f2`
|
Line 90 T_GID=`echo ${TGROUP} | cut -d: -f2`
|
groupadd -g ${T_GID} ${T_GRPNAM} |
groupadd -g ${T_GID} ${T_GRPNAM} |
useradd -u ${T_UID} -g ${T_GRPNAM} -c "BuildMan" -m -d "${BUILDMAN_BASE}" "${T_LOGIN}" |
useradd -u ${T_UID} -g ${T_GRPNAM} -c "BuildMan" -m -d "${BUILDMAN_BASE}" "${T_LOGIN}" |
|
|
install -u ${T_UID} -g ${T_GID} -m 750 bm "${INSTALL_BASE}/sbin/bm" |
install -o ${T_UID} -g ${T_GID} -m 750 bm "${INSTALL_BASE}/sbin/bm" |
install -u ${T_UID} -g ${T_GID} -m 750 bma "${INSTALL_BASE}/sbin/bma" |
install -o ${T_UID} -g ${T_GID} -m 750 bma "${INSTALL_BASE}/sbin/bma" |
|
|
DEF="/etc/default/bm" |
DEF="/etc/default/bm" |
|
|
|
|
echo "BUILDMAN_BASE=${BUILDMAN_BASE}" > "${DEF}" |
echo "BUILDMAN_BASE=${BUILDMAN_BASE}" > "${DEF}" |
|
echo "BUILDMAN_USER=${T_LOGIN}" >> "${DEF}" |
|
echo "BUILDMAN_GROUP=${T_GRPNAM}" >> "${DEF}" |
echo "BUILDMAN_UID=${T_UID}" >> "${DEF}" |
echo "BUILDMAN_UID=${T_UID}" >> "${DEF}" |
echo "BUILDMAN_GID=${T_GID}" >> "${DEF}" |
echo "BUILDMAN_GID=${T_GID}" >> "${DEF}" |
echo "BUILDMAN_MASTER=${BUILDMAN_MASTER}" >> "${DEF}" |
echo "BUILDMAN_MASTER=${BUILDMAN_MASTER}" >> "${DEF}" |