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