Skip to content

Commit 546762c

Browse files
committed
asusctl: addressed review feedback
- using tmpfiles.d for /etc/asusd install - dropped cmake & clang dependencies
1 parent 5c31aad commit 546762c

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d /etc/asusd 0755 - - -

packages/a/asusctl/package.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ builddeps :
2626
- pkgconfig(libusb-1.0)
2727
- pkgconfig(libzstd)
2828
- pkgconfig(xkbcommon)
29-
- clang
30-
- cmake
3129
- rust
3230
rundeps :
3331
- dbus
@@ -38,5 +36,5 @@ build : |
3836
%make
3937
install : |
4038
%make_install prefix=/usr
41-
install -d -m 0755 $installdir/etc/asusd
39+
install -Dm00644 ${pkgfiles}/asusctl.tmpfiles ${installdir}/usr/lib/tmpfiles.d/asusctl.conf
4240
%install_license LICENSE

packages/a/asusctl/pspec_x86_64.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ charge limit, fan curves, and GPU MUX where supported.
2626
</Description>
2727
<PartOf>hardware.power</PartOf>
2828
<Files>
29-
<Path fileType="config">/etc/asusd</Path>
3029
<Path fileType="executable">/usr/bin/asus-shutdown</Path>
3130
<Path fileType="executable">/usr/bin/asusctl</Path>
3231
<Path fileType="executable">/usr/bin/asusd</Path>
3332
<Path fileType="executable">/usr/bin/asusd-user</Path>
3433
<Path fileType="executable">/usr/bin/rog-control-center</Path>
3534
<Path fileType="library">/usr/lib/systemd/system/asus-shutdown.service</Path>
3635
<Path fileType="library">/usr/lib/systemd/system/asusd.service</Path>
36+
<Path fileType="library">/usr/lib/tmpfiles.d/asusctl.conf</Path>
3737
<Path fileType="library">/usr/lib/udev/rules.d/99-asusd.rules</Path>
3838
<Path fileType="data">/usr/share/applications/rog-control-center.desktop</Path>
3939
<Path fileType="data">/usr/share/asusctl/LICENSE</Path>
@@ -122,7 +122,7 @@ charge limit, fan curves, and GPU MUX where supported.
122122
</Package>
123123
<History>
124124
<Update release="1">
125-
<Date>2026-05-17</Date>
125+
<Date>2026-05-18</Date>
126126
<Version>6.3.7</Version>
127127
<Comment>Packaging update</Comment>
128128
<Name>Marc Van Giel</Name>

0 commit comments

Comments
 (0)