mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
pm-utils:
- install dmidecode - install kbd
This commit is contained in:
parent
5461876d54
commit
4469ae4c30
@ -3,6 +3,8 @@
|
|||||||
. config/options
|
. config/options
|
||||||
|
|
||||||
$SCRIPTS/install grep
|
$SCRIPTS/install grep
|
||||||
|
$SCRIPTS/install dmidecode
|
||||||
|
$SCRIPTS/install kbd
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/pm/config.d
|
mkdir -p $INSTALL/etc/pm/config.d
|
||||||
mkdir -p $INSTALL/etc/pm/power.d
|
mkdir -p $INSTALL/etc/pm/power.d
|
||||||
@ -24,18 +26,21 @@ mkdir -p $INSTALL/usr/lib/pm-utils/
|
|||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/pm-utils/module.d
|
mkdir -p $INSTALL/usr/lib/pm-utils/module.d
|
||||||
for file in kernel tuxonice uswsusp; do
|
# tuxonice
|
||||||
|
for file in kernel uswsusp; do
|
||||||
cp -P $PKG_BUILD/pm/module.d/$file $INSTALL/usr/lib/pm-utils/module.d
|
cp -P $PKG_BUILD/pm/module.d/$file $INSTALL/usr/lib/pm-utils/module.d
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/pm-utils/power.d
|
mkdir -p $INSTALL/usr/lib/pm-utils/power.d
|
||||||
for file in sched-powersave; do
|
# disabled, because not needed
|
||||||
cp -P $PKG_BUILD/pm/power.d/$file $INSTALL/usr/lib/pm-utils/power.d
|
# for file in sched-powersave; do
|
||||||
chmod +x $INSTALL/usr/lib/pm-utils/power.d/$file
|
# cp -P $PKG_BUILD/pm/power.d/$file $INSTALL/usr/lib/pm-utils/power.d
|
||||||
done
|
# chmod +x $INSTALL/usr/lib/pm-utils/power.d/$file
|
||||||
|
# done
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/pm-utils/sleep.d
|
mkdir -p $INSTALL/usr/lib/pm-utils/sleep.d
|
||||||
for file in 00logging 00powersave 01grub 49bluetooth 55NetworkManager 75modules 90clock 94cpufreq 95led 98video-quirk-db-handler 99video; do
|
# 01grub 49bluetooth 55NetworkManager 90clock 95led 98video-quirk-db-handler
|
||||||
|
for file in 00logging 00powersave 75modules 94cpufreq 99video; do
|
||||||
cp -P $PKG_BUILD/pm/sleep.d/$file $INSTALL/usr/lib/pm-utils/sleep.d
|
cp -P $PKG_BUILD/pm/sleep.d/$file $INSTALL/usr/lib/pm-utils/sleep.d
|
||||||
chmod +x $INSTALL/usr/lib/pm-utils/sleep.d/$file
|
chmod +x $INSTALL/usr/lib/pm-utils/sleep.d/$file
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user