diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-06-29 14:10:35 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-06-29 14:10:59 +0200 |
commit | a5d597f4f67349195a6508b15097d1f1d5181c8d (patch) | |
tree | b038a8d34ea05881d43eca5e0d309d13db1c2fc9 | |
parent | 8e60fa48a8535da9eaa34ef35b5040c2eb68fc3b (diff) | |
download | serial-barcode-scanner-a5d597f4f67349195a6508b15097d1f1d5181c8d.tar.bz2 |
README: use busctl instead of mdbus2
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ The system consists of multiple daemons written in Vala, which communicate with each other using DBus. Build Dependencies: - * apt install build-essential valac libesmtp-dev libgpgme11-dev libncursesw5-dev libncurses5-dev libgee-0.8-dev libgmime-2.6-dev libarchive-dev libgstreamer1.0-dev libgtk2.0-dev librsvg2-dev libsoup2.4-dev libsqlite3-dev libpango1.0-dev libssl-dev dbus-x11 mdbus2 policykit-1 + * apt install build-essential valac libesmtp-dev libgpgme11-dev libncursesw5-dev libncurses5-dev libgee-0.8-dev libgmime-2.6-dev libarchive-dev libgstreamer1.0-dev libgtk2.0-dev librsvg2-dev libsoup2.4-dev libsqlite3-dev libpango1.0-dev libssl-dev dbus-x11 policykit-1 Additional runtime dependencies: * apt install fonts-lmodern gstreamer1.0-alsa gstreamer1.0-plugins-base @@ -78,7 +78,7 @@ but you need to modify a few things. * Create user `sqlite3 shop.db "INSERT INTO users (id, email, firstname, lastname) VALUES (1, 'test@tester', 'Firstname', 'Lastname');"` * Setup user password - `mdbus2 -s io.mainframe.shopsystem.Database /io/mainframe/shopsystem/database io.mainframe.shopsystem.Database.SetUserPassword 1 "password"` + `busctl --system call io.mainframe.shopsystem.Database /io/mainframe/shopsystem/database io.mainframe.shopsystem.Database SetUserPassword id 1 "password"` `sqlite3 shop.db "UPDATE authentication set superuser = 1, auth_users = 1, auth_products = 1, auth_cashbox = 1 where user = 1";` * Demo Data `sqlite3 shop.db "INSERT INTO categories (name) VALUES ('Getränke')";` |