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
|
||||
|
||||
$SCRIPTS/install grep
|
||||
$SCRIPTS/install dmidecode
|
||||
$SCRIPTS/install kbd
|
||||
|
||||
mkdir -p $INSTALL/etc/pm/config.d
|
||||
mkdir -p $INSTALL/etc/pm/power.d
|
||||
@ -24,18 +26,21 @@ mkdir -p $INSTALL/usr/lib/pm-utils/
|
||||
done
|
||||
|
||||
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
|
||||
done
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/pm-utils/power.d
|
||||
for file in sched-powersave; do
|
||||
cp -P $PKG_BUILD/pm/power.d/$file $INSTALL/usr/lib/pm-utils/power.d
|
||||
chmod +x $INSTALL/usr/lib/pm-utils/power.d/$file
|
||||
done
|
||||
# disabled, because not needed
|
||||
# for file in sched-powersave; do
|
||||
# cp -P $PKG_BUILD/pm/power.d/$file $INSTALL/usr/lib/pm-utils/power.d
|
||||
# chmod +x $INSTALL/usr/lib/pm-utils/power.d/$file
|
||||
# done
|
||||
|
||||
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
|
||||
chmod +x $INSTALL/usr/lib/pm-utils/sleep.d/$file
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user