X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fcups;h=41da95690df3f2fbd5981f544b604751e19cb608;hb=2121ae9154ff063eef0defe0a9208663062a2d01;hp=4f0bf095a358e4a63f9a01502f0d1c055e6ac82c;hpb=68c887d8cb0b5c8342e9c314ebd203427318281a;p=hvlinux.git diff --git a/stage5/pkg/cups b/stage5/pkg/cups index 4f0bf09..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 --enable-pdftops" + 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