mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-16 08:30:24 +00:00
polkit: build with shadow support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@ -9,7 +9,6 @@ $SCRIPTS/build glib
|
||||
$SCRIPTS/build udev
|
||||
$SCRIPTS/build eggdbus
|
||||
$SCRIPTS/build expat
|
||||
$SCRIPTS/build Linux-PAM
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
@ -25,7 +24,7 @@ cd $PKG_BUILD
|
||||
--disable-gtk-doc \
|
||||
--disable-nls \
|
||||
--disable-introspection \
|
||||
--with-authfw=pam \
|
||||
--with-authfw=shadow \
|
||||
--with-os-type=redhat \
|
||||
|
||||
make
|
||||
|
@ -8,14 +8,10 @@ $SCRIPTS/install glib
|
||||
$SCRIPTS/install udev
|
||||
$SCRIPTS/install eggdbus
|
||||
$SCRIPTS/install expat
|
||||
$SCRIPTS/install Linux-PAM
|
||||
|
||||
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||
cp -P $PKG_BUILD/data/org.freedesktop.PolicyKit1.conf $INSTALL/etc/dbus-1/system.d
|
||||
|
||||
mkdir -p $INSTALL/etc/pam.d
|
||||
cp -P $PKG_BUILD/data/polkit-1 $INSTALL/etc/pam.d
|
||||
|
||||
mkdir -p $INSTALL/etc/polkit-1/localauthority
|
||||
echo "chmod 700 $INSTALL/etc/polkit-1/localauthority" >> $FAKEROOT_SCRIPT
|
||||
|
||||
|
Reference in New Issue
Block a user