mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/openrc: add linux-pam support
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
730c90faa3
commit
3f986eaeb2
@@ -14,7 +14,6 @@ OPENRC_DEPENDENCIES = ncurses
|
||||
|
||||
OPENRC_CONF_OPTS = \
|
||||
-Dos=Linux \
|
||||
-Dpam=false \
|
||||
-Dlibrcdir=/usr/libexec/rc \
|
||||
-Dpkgconfig=false \
|
||||
-Dsysvinit=true \
|
||||
@@ -28,6 +27,13 @@ else
|
||||
OPENRC_CONF_OPTS += -Dselinux=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
OPENRC_CONF_OPTS += -Dpam=true
|
||||
OPENRC_DEPENDENCIES += linux-pam
|
||||
else
|
||||
OPENRC_CONF_OPTS += -Dpam=false
|
||||
endif
|
||||
|
||||
define OPENRC_INSTALL_SYSV_RCS_SCRIPT
|
||||
$(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \
|
||||
$(TARGET_DIR)/etc/init.d/sysv-rcs
|
||||
|
||||
Reference in New Issue
Block a user