hvconfig_pre()
{
- hv_useradd -c "Print_Service_User" -d /dev/null -g lp -s /bin/false -u 9 lp
+ hv_useradd --system -c "Print_Service_User" -d /dev/null -g lp \
+ -s /bin/false lp
- CONFIGURE_OPTS="--libdir=/usr/lib"
+ groupadd --system -f lpadmin
+
+ CONFIGURE_OPTS=" \
+ --libdir=/usr/lib \
+ --disable-systemd \
+ --with-rcdir=/tmp/cupsinit \
+ --with-system-groups=lpadmin"
}
-hvbuild_pre()
+hvbuild_post()
{
if [ -n "${CUPS_SERVER}" ]; then
# Configuring for connection to a remote CUPS print server