From ec046651507c8c8ffda548e8460b4468246106cc Mon Sep 17 00:00:00 2001 From: lhark Date: Sun, 12 May 2019 00:14:15 -0400 Subject: [PATCH] Several runit/artixlinux tips. Android .ab uncompress --- how_to | 14 ++++++++++++++ resources/lib32-systemd-dummy.pkgbuild | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 resources/lib32-systemd-dummy.pkgbuild diff --git a/how_to b/how_to index b29605d..c816c24 100644 --- a/how_to +++ b/how_to @@ -478,3 +478,17 @@ Better Bibtex, Zotero: ImageMagick: crop to aspect ratio convert in.png -gravity center -crop 4:3 out.png + +Bumblebee runit fix: + sed -i 's/Driver=$/Driver=nvidia/' /etc/bumblebee/bumblebee.conf + +Uncompress android .ab backup files: + # https://stackoverflow.com/questions/18533567/how-to-extract-or-unpack-an-ab-file-android-backup-file + ( printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" ; tail -c +25 backup.ab ) | tar xfvz - + +Fix: Failed to activate service 'org.freedesktop.login1': timed out: + If dbus has been restarted, don't forget to restart elogind/systemd-logind + +Artilinux steam lib32-systemd fix: + https://forum.artixlinux.org/index.php/topic,633.msg7437.html + [Attached file]: resources/lib32-systemd-dummy.pkgbuild diff --git a/resources/lib32-systemd-dummy.pkgbuild b/resources/lib32-systemd-dummy.pkgbuild new file mode 100644 index 0000000..82cf32d --- /dev/null +++ b/resources/lib32-systemd-dummy.pkgbuild @@ -0,0 +1,21 @@ +_spkgrel=1 +_repo=http://mirror.cedille.club/archlinux/multilib/os +pkgname=lib32-systemd-dummy +pkgver=242.16 +pkgrel=1 +arch=('x86_64') +license=('GPL2') +url="http://www.freedesktop.org/wiki/Software/systemd" +source=("$_repo/x86_64/lib32-systemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz") +sha256sums=('7631640f74539f99feb9ce5b06fbf05aae5c1402303b646da58ad99059487dba') +pkgdesc="systemd client libraries without udev; systemd compatibility package" +#provides=("lib32-systemd=${pkgver}" 'lib32-systemd.so') # conflicts with lib32-eudev +depends=('lib32-glibc' 'lib32-libcap' 'lib32-libgcrypt' 'lib32-xz' 'lib32-eudev') +conflicts=('lib32-systemd' 'eudev-systemdcompat') + +package() { + install -d $pkgdir/usr/lib32 + for f in usr/lib32/libsystemd*.so*;do + mv -v $f $pkgdir/usr/lib32 + done +}