From 0af8175fd05a570ce90ed3fac6b28e67b2a4026d Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 18 Oct 2017 12:13:09 +0530 Subject: [PATCH] Install dependency packages during install/provisioning This will not install all the dependencies of Plinth but will install the dependencies required for essential modules to setup properly. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Joseph Nuthalapati --- HACKING.md | 7 +++++++ INSTALL.md | 1 + Vagrantfile | 2 ++ 3 files changed, 10 insertions(+) diff --git a/HACKING.md b/HACKING.md index adf646c2f..434763518 100644 --- a/HACKING.md +++ b/HACKING.md @@ -26,6 +26,13 @@ The entire setup is automatic and requires about 4.5 GB of disk space. $ vagrant provision +## Installing Dependencies + +Apart from dependencies listing in INSTALL file, Plinth may have additional +dependencies required by modules of Plinth. To install these, run: + + $ sudo apt install -y $(plinth --list-dependencies) + ## Manually Setting Up for Development It is recommended that you use Vagrant to setup your development diff --git a/INSTALL.md b/INSTALL.md index 1c2d46a4d..ca9221267 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -43,6 +43,7 @@ program and run: $ sudo python3 setup.py install + $ sudo apt install -y $(plinth --list-dependencies) 3. Run Plinth: diff --git a/Vagrantfile b/Vagrantfile index a7c11d67f..51bc5e3cb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -22,6 +22,8 @@ Vagrant.configure(2) do |config| config.vm.provision "shell", inline: <<-SHELL cd /vagrant/ ./setup.py install + apt update + apt install -y $(plinth --list-dependencies) systemctl daemon-reload systemctl restart plinth SHELL