X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fcups;h=41da95690df3f2fbd5981f544b604751e19cb608;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=c65a6da96ebe588410188aa79ea2200b7a62e230;hpb=52b977a20ba206399ea263f5c32b191d5b25c704;p=hvlinux.git diff --git a/stage5/pkg/cups b/stage5/pkg/cups index c65a6da..41da956 100644 --- a/stage5/pkg/cups +++ b/stage5/pkg/cups @@ -2,12 +2,19 @@ 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