diff options
author | Robert Alessi <alessi@robertalessi.net> | 2021-02-13 10:02:53 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2021-02-13 10:02:53 +0100 |
commit | 15f1fdc7b5153070ac67a4f6c46b91e451b2ded4 (patch) | |
tree | 0c920d2b8c81b37b7a09c953e801317080fa5761 | |
parent | 5169db7e24f80ee2e35aa747ef646dee2a7417fd (diff) | |
download | my-x200-15f1fdc7b5153070ac67a4f6c46b91e451b2ded4.tar.gz |
new event: button/suspend. added elogind as dependencyv0.7-1
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | about.html | 1 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | makefile | 3 | ||||
-rw-r--r-- | my-x200-suspend.sh | 2 | ||||
-rw-r--r-- | my-x200.sh | 12 | ||||
-rw-r--r-- | my-x200_0.6-2.debian.tar.xz | bin | 1436 -> 0 bytes | |||
-rw-r--r-- | my-x200_0.6-2.dsc | 41 | ||||
-rw-r--r-- | my-x200_0.6-2_amd64.deb | bin | 4880 -> 0 bytes | |||
-rw-r--r-- | my-x200_0.6.orig.tar.gz | bin | 3359469 -> 0 bytes | |||
-rw-r--r-- | my-x200_0.7-1.debian.tar.xz | bin | 0 -> 1492 bytes | |||
-rw-r--r-- | my-x200_0.7-1.dsc | 41 | ||||
-rw-r--r-- | my-x200_0.7-1_amd64.deb | bin | 0 -> 5020 bytes |
14 files changed, 65 insertions, 46 deletions
@@ -161,7 +161,8 @@ wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |||
161 | Do Not Use | 161 | Do Not Use |
162 | ---------- | 162 | ---------- |
163 | 1. NetworkManager | 163 | 1. NetworkManager |
164 | 2. Avahi | 164 | 2. acpi-support (but acpi-support-base is fine and needed) |
165 | 3. Avahi | ||
165 | 166 | ||
166 | To disable `avahi`, do (as root): | 167 | To disable `avahi`, do (as root): |
167 | 168 | ||
@@ -94,6 +94,7 @@ wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf</code></pre> | |||
94 | <h2 id="do-not-use">Do Not Use</h2> | 94 | <h2 id="do-not-use">Do Not Use</h2> |
95 | <ol type="1"> | 95 | <ol type="1"> |
96 | <li>NetworkManager</li> | 96 | <li>NetworkManager</li> |
97 | <li>acpi-support (but acpi-support-base is fine and needed)</li> | ||
97 | <li>Avahi</li> | 98 | <li>Avahi</li> |
98 | </ol> | 99 | </ol> |
99 | <p>To disable <code>avahi</code>, do (as root):</p> | 100 | <p>To disable <code>avahi</code>, do (as root):</p> |
diff --git a/debian/changelog b/debian/changelog index fe9e689..bcd2ac1 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -1,6 +1,8 @@ | |||
1 | my-x200 (0.6-2) UNRELEASED; urgency=medium | 1 | my-x200 (0.7-1) UNRELEASED; urgency=medium |
2 | 2 | ||
3 | * Initial release. | 3 | * Initial release. |
4 | * Removed remnant lines left of openrc-run in initd file | 4 | * Removed remnant lines left of openrc-run in initd file |
5 | * Added elogind as dependency | ||
6 | * New acpi event: button/suspend | ||
5 | 7 | ||
6 | -- Robert Alessi <alessi@robertalessi.net> Sun, 07 Feb 2021 15:47:20 +0100 | 8 | -- Robert Alessi <alessi@robertalessi.net> Sat, 13 Feb 2021 09:47:12 +0100 |
diff --git a/debian/control b/debian/control index b3cc4bd..0868d57 100644 --- a/debian/control +++ b/debian/control | |||
@@ -9,7 +9,7 @@ Homepage: http://git.robertalessi.net/my-x200 | |||
9 | Package: my-x200 | 9 | Package: my-x200 |
10 | Architecture: any | 10 | Architecture: any |
11 | Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, intel-gpu-tools, rsync, | 11 | Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, intel-gpu-tools, rsync, |
12 | macchanger, rfkill, acpi-support-base | 12 | elogind, macchanger, rfkill, acpi-support-base |
13 | Recommends: rsnapshot | 13 | Recommends: rsnapshot |
14 | Description: Service dedicated to Thinkpads X200 | 14 | Description: Service dedicated to Thinkpads X200 |
15 | my-x200 is a simple service primarily designed to make the | 15 | my-x200 is a simple service primarily designed to make the |
@@ -1,7 +1,7 @@ | |||
1 | pkgname = my-x200 | 1 | pkgname = my-x200 |
2 | exts := md html confd initd sh deb dsc orig.tar.gz debian.tar.xz | 2 | exts := md html confd initd sh deb dsc orig.tar.gz debian.tar.xz |
3 | findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") | 3 | findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") |
4 | pkgver := 0.6 | 4 | pkgver := 0.7 |
5 | 5 | ||
6 | all: install | 6 | all: install |
7 | 7 | ||
@@ -35,6 +35,7 @@ install: | |||
35 | install -Dm644 my-x200.confd $(DESTDIR)etc/default/my-x200 | 35 | install -Dm644 my-x200.confd $(DESTDIR)etc/default/my-x200 |
36 | install -Dm644 my-x200-lid.sh $(DESTDIR)etc/acpi/events/my-x200-lid | 36 | install -Dm644 my-x200-lid.sh $(DESTDIR)etc/acpi/events/my-x200-lid |
37 | install -Dm644 my-x200-sleep.sh $(DESTDIR)etc/acpi/events/my-x200-sleep | 37 | install -Dm644 my-x200-sleep.sh $(DESTDIR)etc/acpi/events/my-x200-sleep |
38 | install -Dm644 my-x200-suspend.sh $(DESTDIR)etc/acpi/events/my-x200-suspend | ||
38 | install -Dm755 my-x200.sh $(DESTDIR)etc/acpi/my-x200.sh | 39 | install -Dm755 my-x200.sh $(DESTDIR)etc/acpi/my-x200.sh |
39 | 40 | ||
40 | uninstall: | 41 | uninstall: |
diff --git a/my-x200-suspend.sh b/my-x200-suspend.sh new file mode 100644 index 0000000..c46d33c --- /dev/null +++ b/my-x200-suspend.sh | |||
@@ -0,0 +1,2 @@ | |||
1 | event=button/suspend.* | ||
2 | action=/etc/acpi/my-x200.sh %e | ||
@@ -14,6 +14,18 @@ case "$1" in | |||
14 | ;; | 14 | ;; |
15 | esac | 15 | esac |
16 | ;; | 16 | ;; |
17 | button/suspend) | ||
18 | case "$2" in | ||
19 | SUSP) | ||
20 | logger 'SuspendButton pressed' | ||
21 | /bin/loginctl sleep | ||
22 | rc-service my-x200 restart | ||
23 | ;; | ||
24 | *) | ||
25 | logger "ACPI action undefined: $2" | ||
26 | ;; | ||
27 | esac | ||
28 | ;; | ||
17 | button/lid) | 29 | button/lid) |
18 | case "$3" in | 30 | case "$3" in |
19 | close) | 31 | close) |
diff --git a/my-x200_0.6-2.debian.tar.xz b/my-x200_0.6-2.debian.tar.xz deleted file mode 100644 index 9a666d5..0000000 --- a/my-x200_0.6-2.debian.tar.xz +++ /dev/null | |||
Binary files differ | |||
diff --git a/my-x200_0.6-2.dsc b/my-x200_0.6-2.dsc deleted file mode 100644 index 2921f39..0000000 --- a/my-x200_0.6-2.dsc +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | -----BEGIN PGP SIGNED MESSAGE----- | ||
2 | Hash: SHA256 | ||
3 | |||
4 | Format: 3.0 (quilt) | ||
5 | Source: my-x200 | ||
6 | Binary: my-x200 | ||
7 | Architecture: any | ||
8 | Version: 0.6-2 | ||
9 | Maintainer: Robert Alessi <alessi@robertalessi.net> | ||
10 | Homepage: http://git.robertalessi.net/my-x200 | ||
11 | Standards-Version: 4.3.0 | ||
12 | Build-Depends: debhelper (>= 10) | ||
13 | Package-List: | ||
14 | my-x200 deb misc optional arch=any | ||
15 | Checksums-Sha1: | ||
16 | 46dd490aa2c55c30780c8ff941ddc293c2ab5962 3359469 my-x200_0.6.orig.tar.gz | ||
17 | fc77b94ca453b12a16eb2e8e5dd80387fc5f3dfe 1436 my-x200_0.6-2.debian.tar.xz | ||
18 | Checksums-Sha256: | ||
19 | 31ea7ae4ec7df28ce5a5ce498be6a721590b0b26f315ab6261dba7145fa8ce77 3359469 my-x200_0.6.orig.tar.gz | ||
20 | 38371a1002c278d147ec5a3383c201ab15178cd749f5c7ab49df889d6c63a78a 1436 my-x200_0.6-2.debian.tar.xz | ||
21 | Files: | ||
22 | 2757c40eefe786cc922d0f82a25dca32 3359469 my-x200_0.6.orig.tar.gz | ||
23 | 08e2552fbd769e9d9aec4bafd5a3ba2a 1436 my-x200_0.6-2.debian.tar.xz | ||
24 | |||
25 | -----BEGIN PGP SIGNATURE----- | ||
26 | |||
27 | iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAmqdkYHGFsZXNzaUBy | ||
28 | b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHIZoP/iAXvThBK2MBWqbLh0jevaFw | ||
29 | f87Q9v9Pj/N7gnv3JSkKkQRyCtIBfMI9LmtaUgZ/Fk4YG9Rp70nwKHx9g+shiP1h | ||
30 | MIpFaryHK3qBGwkX8AmIYmyIJrwqNAa819SXce6C0oe0y4Y2sU2rcB1XZwVU12z1 | ||
31 | 3pSFXsbGm/ycYZozRV2HeIDVvJ0287jqjg1T8NSgFzrqICzgI8srh4MSeT43Ia70 | ||
32 | jyAYMLTSV6JsFBUknmBsriKMwzHbmjElUJd1l1NdJgYD4U0qAzv8qnQn9rLCrB65 | ||
33 | JtYTvnWRY9CWg3KmJrhA4hdueJsaj/zA5TF3QUU7VEHkkBHlOwFtvx3hHoW60Dy/ | ||
34 | Rk6p6915NgfOei85JvsdV9m2QAInpDx+8nf7s5eMf4xAvk+7qu6a04/oU65ShTDS | ||
35 | IVKbXWyydS30wEc2C2u49a8VBJday0yx88H0Lc4EocAnD4Ehrr2oUJ56FaPZYPCg | ||
36 | pi6F9iM7JxjjrKwRLBSG/PFofX01sibtfK5Fg3bWVerNr3uvEgK5D7C6qKaAUTcx | ||
37 | ILvl0iHBAJN7o/BjyySbfGJ5VcGgwx2SqetVsdPdEchCjs6N0l9eCW8CNJkPkoJY | ||
38 | t2be3NirpAZzuMLA2l6cGOTsgQBg1Ym1JKQpxszmWHC/axonVddf14QQcLKxXdRE | ||
39 | Yq616UM8aTNyFqa1MEjV | ||
40 | =Iegc | ||
41 | -----END PGP SIGNATURE----- | ||
diff --git a/my-x200_0.6-2_amd64.deb b/my-x200_0.6-2_amd64.deb deleted file mode 100644 index 1c70d70..0000000 --- a/my-x200_0.6-2_amd64.deb +++ /dev/null | |||
Binary files differ | |||
diff --git a/my-x200_0.6.orig.tar.gz b/my-x200_0.6.orig.tar.gz deleted file mode 100644 index 4bb3791..0000000 --- a/my-x200_0.6.orig.tar.gz +++ /dev/null | |||
Binary files differ | |||
diff --git a/my-x200_0.7-1.debian.tar.xz b/my-x200_0.7-1.debian.tar.xz new file mode 100644 index 0000000..cd8f230 --- /dev/null +++ b/my-x200_0.7-1.debian.tar.xz | |||
Binary files differ | |||
diff --git a/my-x200_0.7-1.dsc b/my-x200_0.7-1.dsc new file mode 100644 index 0000000..244e517 --- /dev/null +++ b/my-x200_0.7-1.dsc | |||
@@ -0,0 +1,41 @@ | |||
1 | -----BEGIN PGP SIGNED MESSAGE----- | ||
2 | Hash: SHA256 | ||
3 | |||
4 | Format: 3.0 (quilt) | ||
5 | Source: my-x200 | ||
6 | Binary: my-x200 | ||
7 | Architecture: any | ||
8 | Version: 0.7-1 | ||
9 | Maintainer: Robert Alessi <alessi@robertalessi.net> | ||
10 | Homepage: http://git.robertalessi.net/my-x200 | ||
11 | Standards-Version: 4.3.0 | ||
12 | Build-Depends: debhelper (>= 10) | ||
13 | Package-List: | ||
14 | my-x200 deb misc optional arch=any | ||
15 | Checksums-Sha1: | ||
16 | c981758aeff114e1cf48140e4674ea9fe4e55438 28751153 my-x200_0.7.orig.tar.gz | ||
17 | 9fd716305efccafdd42b335eb606b38e5f323297 1492 my-x200_0.7-1.debian.tar.xz | ||
18 | Checksums-Sha256: | ||
19 | 6bbfd19d54af401baa8094625de41c29341b352776b6b0647126af3f70ead86c 28751153 my-x200_0.7.orig.tar.gz | ||
20 | f587e5a8cfffa24e1845bc5a0ed5d0eadc4e498d08fe91fb740805bd03fb0644 1492 my-x200_0.7-1.debian.tar.xz | ||
21 | Files: | ||
22 | 94e1a305a7b1c08eac2b222d5a10a9ba 28751153 my-x200_0.7.orig.tar.gz | ||
23 | d7b0af5966e6f42e0162288e8804c169 1492 my-x200_0.7-1.debian.tar.xz | ||
24 | |||
25 | -----BEGIN PGP SIGNATURE----- | ||
26 | |||
27 | iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAnlTcYHGFsZXNzaUBy | ||
28 | b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHiKEQAIjRIQTDTZe06kwQVcA1OZtp | ||
29 | xWLE2vfEOXBaov2G/EMTuqnSfyYeBNE0cPnP57R6TwkuTtgAurMqf60WFyyaMhUs | ||
30 | OmLS85eb4XrZyhG48+9rI3Fcw/951Pwncpa93EDNJVqGeLIM+2MTmY6xwrHlHy0A | ||
31 | OknvKc2IQXNRDF2uuhHVSlKxTIsUXonJ429ssIgcGQUtuNlnVWvaMQT5SuHgvs15 | ||
32 | EHcI6UHrbrkLesHa7tgk/oG33sLzW6oSYasuoNoL37nRfTCDaDHtUpwvzpVAK6Ub | ||
33 | ZoYXed2BvH3WXsb0NMSwOxHdNu2/N6AQofBA9zep/LjVhVUXAlC6DK473KHbzt41 | ||
34 | uuyJ2vceK9zoDBneKYY4xZHYXTIdvFrdk1JAcvvXGiaAfTrEsfWnm+hy9u228P8/ | ||
35 | /TJvHLCWBcrGmQ1DynYEDA7Xd7FbS6aj/ey5m++WnVCKC2xXWxI3nVefX4op/S5C | ||
36 | qIqx80E3VKpIM4KVE3E81Nc/5thCgmc85jnawzhY15jXpjj3BvNQnHvwjH9WqtB8 | ||
37 | HZAmgnMFJv0y8NrI2oz8tfMup7Fped06V0Tzrjn7wer1NVgr9gyqjrFM31qV2rBk | ||
38 | HkJiwSI00Qbmj8dMPk+lOC9P6VcOXCwwoyByPVkZjaCBuvRMxp65anVkqKdANM4D | ||
39 | md9wiZBL+LYqapqnJvx1 | ||
40 | =7rEE | ||
41 | -----END PGP SIGNATURE----- | ||
diff --git a/my-x200_0.7-1_amd64.deb b/my-x200_0.7-1_amd64.deb new file mode 100644 index 0000000..ff8186f --- /dev/null +++ b/my-x200_0.7-1_amd64.deb | |||
Binary files differ | |||