X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage5%2Fpkg%2Fcups;h=41da95690df3f2fbd5981f544b604751e19cb608;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=52e5a54202c119fdeb1497ae83a49d513cf481c5;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage5/pkg/cups b/stage5/pkg/cups index 52e5a54..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="" + 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