diff options
author | Claus Stovgaard <clst@ambu.com> | 2021-11-13 22:37:13 +0100 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-11-29 13:07:24 +0800 |
commit | d748ebb61d4dd355265f4a78790b4c30c3ec1a61 (patch) | |
tree | 1331b01ae3baf110327414e4f1e4376976d4c169 /scripts/lib | |
parent | a61a9cf73baf4020a6dce90acb0edb08364aaded (diff) | |
download | openembedded-core-contrib-d748ebb61d4dd355265f4a78790b4c30c3ec1a61.tar.gz |
cups: Fix missing installation of cups sysv init scripts
The packageconfig needs to be --disable-systemd as documented in
configure file for cups. With the current value "--without-systemd" the
SYSTEM_DIR variable ends up being set to "no"
It is caused by the --without-* section in configure file resulting in
eval with_$ac_useropt=no ;;
$ac_useropt is "systemd" causing the variable $with_systemd to be set
to "no", because of below test
if test ${with_systemd+y}
then :
withval=$with_systemd; SYSTEMD_DIR="$withval"
else $as_nop
SYSTEMD_DIR=""
fi
cups configure test for i if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.
With --disable-systemd it works as expected - installing the init files.
Though cups should properly improve their configure script.
Signed-off-by: Claus Stovgaard <clst@ambu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 967fdd2ba12f22d8e46600ff085833993a32cfeb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit e2518c2eba8c6e486aee3273dc2cba9ab51ffb69)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions