|
|
@ -22,7 +22,7 @@ cups_pm(){ |
|
|
|
mkdir -p $root/var/spool/cups/tmp |
|
|
|
mkdir -p $root/var/spool/cups/tmp |
|
|
|
chown daemon:daemon $root/var/spool/cups/tmp |
|
|
|
chown daemon:daemon $root/var/spool/cups/tmp |
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $datadir/cups/drivers |
|
|
|
mkdir -p $root$datadir/cups/drivers |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# shared file transformation |
|
|
|
# shared file transformation |
|
|
@ -31,7 +31,9 @@ var_append INSTALL_WRAPPER_FILTER '|' \ |
|
|
|
|
|
|
|
|
|
|
|
var_append confopt " " "--with-logdir=/var/cups/log" |
|
|
|
var_append confopt " " "--with-logdir=/var/cups/log" |
|
|
|
var_append makeopt " " "INITDIR= INITDDIR=" |
|
|
|
var_append makeopt " " "INITDIR= INITDDIR=" |
|
|
|
|
|
|
|
|
|
|
|
makeinstopt="$makeopt install" |
|
|
|
makeinstopt="$makeopt install" |
|
|
|
|
|
|
|
var_append makeinstopt ' ' "BUILDROOT=$root" |
|
|
|
|
|
|
|
|
|
|
|
hook_add postmake 5 cups_pm |
|
|
|
hook_add postmake 5 cups_pm |
|
|
|
|
|
|
|
|
|
|
|