Page MenuHomeSolus

D5895.id14271.diff
No OneTemporary

D5895.id14271.diff

diff --git a/files/0001-Don-t-enable-tlp-service-on-virtualised-platforms.patch b/files/0001-Don-t-enable-tlp-service-on-virtualised-platforms.patch
--- a/files/0001-Don-t-enable-tlp-service-on-virtualised-platforms.patch
+++ b/files/0001-Don-t-enable-tlp-service-on-virtualised-platforms.patch
@@ -1,25 +1,24 @@
-From c3693b61877b47371fc24f7ea6d3f603550978dc Mon Sep 17 00:00:00 2001
-From: Ikey Doherty <ikey@solus-project.com>
-Date: Sat, 15 Oct 2016 22:34:32 +0100
+From 7c21a9c07f9db708926e8c8b01f2f0aa6d00822f Mon Sep 17 00:00:00 2001
+From: James Lee <jamesl33info@gmail.com>
+Date: Sun, 31 Mar 2019 21:18:22 +0100
Subject: [PATCH] Don't enable tlp service on virtualised platforms
-Signed-off-by: Ikey Doherty <ikey@solus-project.com>
---
tlp.service.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/tlp.service.in b/tlp.service.in
-index 7dc4b2c..14012c1 100644
+index 9ac3470..4aec4b8 100644
--- a/tlp.service.in
+++ b/tlp.service.in
-@@ -6,6 +6,7 @@
+@@ -5,6 +5,7 @@
+
[Unit]
Description=TLP system startup/shutdown
- Wants=bluetooth.service NetworkManager.service
+ConditionVirtualization=no
After=multi-user.target bluetooth.service NetworkManager.service
Before=shutdown.target
- Documentation=http://linrunner.de/tlp
+ Documentation=https://linrunner.de/tlp
--
-2.10.1
+2.21.0
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,9 +1,9 @@
name : tlp
-version : '1.1'
-release : 12
+version : 1.2.1
+release : 13
source :
- - https://github.com/linrunner/TLP/archive/1.1.tar.gz : 76e1a091eed1055f7af75f49621be51ed41b1e8f872eeb9506c0749060fd1019
-license : GPL-2.0
+ - https://github.com/linrunner/TLP/archive/1.2.1.tar.gz : 0fa43c2be7d42223646c6271eb823174076a92c9cea5740c24b5e9e8404c9765
+license : GPL-2.0-only
component : system.utils
summary : Linux Advanced Power Management
description: |
@@ -33,8 +33,7 @@
%make_install install-man
mkdir -p $installdir/%libdir%
mv $installdir/lib/udev $installdir/%libdir%/
- mv $installdir/usr/lib/* $installdir/%libdir%/
- rm -rf $installdir/lib $installdir/usr/lib
+ rm -rf $installdir/lib
# Enable by default, users can disable now with systemctl mask tlp
install -D -d -m 00755 $installdir/%libdir%/systemd/system/multi-user.target.wants
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,15 +2,15 @@
<Source>
<Name>tlp</Name>
<Packager>
- <Name>Peter O&apos;Connor</Name>
- <Email>peter@solus-project.com</Email>
+ <Name>James Lee</Name>
+ <Email>jamesl33info@gmail.com</Email>
</Packager>
- <License>GPL-2.0</License>
+ <License>GPL-2.0-only</License>
<PartOf>system.utils</PartOf>
<Summary xml:lang="en">Linux Advanced Power Management</Summary>
<Description xml:lang="en">Linux Advanced Power Management
</Description>
- <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
</Source>
<Package>
<Name>tlp</Name>
@@ -21,8 +21,15 @@
<Files>
<Path fileType="config">/etc/NetworkManager/dispatcher.d/99tlp-rdw-nm</Path>
<Path fileType="config">/etc/default/tlp</Path>
- <Path fileType="executable">/usr/bin</Path>
- <Path fileType="library">/usr/lib64/pm-utils/sleep.d/49tlp</Path>
+ <Path fileType="executable">/usr/bin/bluetooth</Path>
+ <Path fileType="executable">/usr/bin/run-on-ac</Path>
+ <Path fileType="executable">/usr/bin/run-on-bat</Path>
+ <Path fileType="executable">/usr/bin/tlp-pcilist</Path>
+ <Path fileType="executable">/usr/bin/tlp-rdw</Path>
+ <Path fileType="executable">/usr/bin/tlp-stat</Path>
+ <Path fileType="executable">/usr/bin/tlp-usblist</Path>
+ <Path fileType="executable">/usr/bin/wifi</Path>
+ <Path fileType="executable">/usr/bin/wwan</Path>
<Path fileType="library">/usr/lib64/systemd/system/multi-user.target.wants/tlp.service</Path>
<Path fileType="library">/usr/lib64/systemd/system/tlp-sleep.service</Path>
<Path fileType="library">/usr/lib64/systemd/system/tlp.service</Path>
@@ -30,24 +37,46 @@
<Path fileType="library">/usr/lib64/udev/rules.d/85-tlp.rules</Path>
<Path fileType="library">/usr/lib64/udev/tlp-rdw-udev</Path>
<Path fileType="library">/usr/lib64/udev/tlp-usb-udev</Path>
- <Path fileType="executable">/usr/sbin</Path>
+ <Path fileType="executable">/usr/sbin/tlp</Path>
<Path fileType="data">/usr/share/bash-completion/completions/bluetooth</Path>
<Path fileType="data">/usr/share/bash-completion/completions/tlp</Path>
+ <Path fileType="data">/usr/share/bash-completion/completions/tlp-rdw</Path>
<Path fileType="data">/usr/share/bash-completion/completions/tlp-stat</Path>
<Path fileType="data">/usr/share/bash-completion/completions/wifi</Path>
<Path fileType="data">/usr/share/bash-completion/completions/wwan</Path>
- <Path fileType="man">/usr/share/man</Path>
+ <Path fileType="man">/usr/share/man/man1/bluetooth.1</Path>
+ <Path fileType="man">/usr/share/man/man1/run-on-ac.1</Path>
+ <Path fileType="man">/usr/share/man/man1/run-on-bat.1</Path>
+ <Path fileType="man">/usr/share/man/man1/tlp-pcilist.1</Path>
+ <Path fileType="man">/usr/share/man/man1/tlp-usblist.1</Path>
+ <Path fileType="man">/usr/share/man/man1/wifi.1</Path>
+ <Path fileType="man">/usr/share/man/man1/wwan.1</Path>
+ <Path fileType="man">/usr/share/man/man8/tlp-sleep.service.8</Path>
+ <Path fileType="man">/usr/share/man/man8/tlp-stat.8</Path>
+ <Path fileType="man">/usr/share/man/man8/tlp.8</Path>
+ <Path fileType="man">/usr/share/man/man8/tlp.service.8</Path>
<Path fileType="data">/usr/share/metainfo/de.linrunner.tlp.metainfo.xml</Path>
- <Path fileType="data">/usr/share/tlp</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/05-tlp-func-pm</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/10-tlp-func-cpu</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/15-tlp-func-disk</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/20-tlp-func-usb</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/25-tlp-func-rf</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/30-tlp-func-rf-sw</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/35-tlp-func-batt</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/40-tlp-func-bay</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/45-tlp-func-gpu</Path>
+ <Path fileType="data">/usr/share/tlp/func.d/tlp-func-stat</Path>
+ <Path fileType="data">/usr/share/tlp/tlp-func-base</Path>
+ <Path fileType="data">/usr/share/tlp/tpacpi-bat</Path>
</Files>
</Package>
<History>
- <Update release="12">
- <Date>2018-04-10</Date>
- <Version>1.1</Version>
+ <Update release="13">
+ <Date>2019-03-31</Date>
+ <Version>1.2.1</Version>
<Comment>Packaging update</Comment>
- <Name>Peter O&apos;Connor</Name>
- <Email>peter@solus-project.com</Email>
+ <Name>James Lee</Name>
+ <Email>jamesl33info@gmail.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 3:52 PM (1 d, 3 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5818772
Default Alt Text
D5895.id14271.diff (7 KB)

Event Timeline