Package: freedombox-setup
Version: 0.8
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attach patch proposes to run 'plinth --setup' during setup phase.

- - Running Plinth setup allows setting up various modules at the time of
  the freedombox-setup.  This will allow various essentials modules to
  perform setup before even the first boot wizard runs.

- - This will also allow moving further setup operations from
  freedombox-setup into Plinth.

This patch requires freedom-maker to mount the necessary partitions before
running customize script.  That patch is being submitted separately.

To test, I have build amd64 image and executed in Qemu.  I checked the
freedombox-setup.log was without errors and Plinth setup ran successfully.



- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freedombox-setup depends on:
ii  apache2                                2.4.18-1
ii  augeas-tools                           1.2.0-0.3
ii  avahi-daemon                           0.6.32~rc+dfsg-1
ii  avahi-utils                            0.6.32~rc+dfsg-1
ii  bridge-utils                           1.5-9
pn  checkinstall                           <none>
pn  devio                                  <none>
ii  dialog                                 1.2-20150920-1
pn  dnsmasq                                <none>
ii  dnsutils                               1:9.9.5.dfsg-12.1
ii  dosfstools                             3.0.28-2
pn  etckeeper                              <none>
ii  firewalld                              0.4.0-1
pn  haveged                                <none>
ii  hostname                               3.16
ii  htop                                   1.0.3-1+b1
pn  iftop                                  <none>
ii  iptables                               1.6.0-2
ii  iputils-ping                           3:20121221-5+b2
ii  isc-dhcp-client                        4.3.3-8
pn  libnss-gw-name                         <none>
ii  libnss-mdns                            0.10-7
ii  libnss-myhostname                      229-1
ii  libpython2.7-stdlib [python-argparse]  2.7.11-3
ii  locales                                2.21-7
pn  locales-all                            <none>
ii  lsof                                   4.89+dfsg-0.1
pn  lua-sec                                <none>
pn  macchanger                             <none>
pn  monkeysphere                           <none>
ii  net-tools                              1.60+git20150829.73cef8a-2
ii  ntp                                    1:4.2.8p4+dfsg-3+b1
ii  openssh-server                         1:7.1p2-2
ii  parted                                 3.2-15
pn  plinth                                 <none>
ii  psmisc                                 22.21-2.1+b1
ii  python-augeas                          0.5.0-1
ii  python-beautifulsoup                   3.2.1-1
ii  python-bjsonrpc                        0.2.0-2
ii  python-docutils                        0.12+dfsg-1
ii  python-lxml                            3.5.0-1
pn  python:any                             <none>
pn  resolvconf                             <none>
ii  ssl-cert                               1.0.37
ii  sudo                                   1.8.15-1.1
ii  tcpdump                                4.7.4-1+b1
pn  uaputl                                 <none>
ii  vim-tiny                               2:7.4.963-1+b1
ii  wget                                   1.17.1-1+b1
pn  zile                                   <none>

Versions of packages freedombox-setup recommends:
pn  batctl          <none>
pn  pagekite        <none>
pn  rfkill          <none>
ii  wireless-tools  30~pre9-8

freedombox-setup suggests no packages.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJW3yEhAAoJEDbDYUQMm8lxqv0P/3qki5ykv4IHN9p7jgbLzFpN
nK56dGDO9/vu4nZWPMdfalyAzT6IzFH63L9db6/frZS7dWGKGH83a04Jl75I5Qgv
FqW6kwFfMeN2h9NwOI3bVwG92tHvC0wzHZM78hFC11pVhu4HPBFzjLVJ2C1rITZN
KXNZ8nhX+h63LQ602o0S3RcOBFD0pytbicbSFif98FgHKEj8y4GUYVcSkSNP683k
RApgkhhJISPCGfAFXJ9PezrPOsRvmXwxaBDOtW4Ew4gLVzKmM237L3/m+NApk0W9
USn+7oA5hBDLckXiHlwwP6H70ni1JU28p281XJH4RVaGefnSpB5E752vjpfRwuJ2
diS+qQl08/1liKV/QtbJ8Qh0v81tk0q6o0LM6m9uar0Zv9dqaSI5GiOZtFIH+fW9
rWwPHHUxCaft+ZgcadH3bw/Wq4vAChCjkgAw2F6c9ORTpnSBktxRXHtkHuuLzDq9
VPehKloPjsMrTX38ltaDamuCLSrHdFrNH4zNm1yxQvWHMJfUOxAOQaQ1rv4kzikq
YLvtZfZ8hahfEVDb7a6c9eb+d+yjTuAYVRjaIm4Q5P2UJtM2BRvfo7IZ396kvyKv
jmrnJzHbzXo05HItSc/cbp0EFeHrCIJG8MBLkDR3kleZJmBHfsFDbyuI5cIotRZL
Usd5Gt4THEYXCrb+w+TA
=GN7a
-----END PGP SIGNATURE-----
>From 901b46ffeb3b9bfed6b5a6a13896a0d9069c072e Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa <su...@medhas.org>
Date: Tue, 8 Mar 2016 11:42:17 +0530
Subject: [PATCH] Run plinth setup during setup phase

- Running Plinth setup allows setting up various modules at the time of
  the freedombox-setup.  This will allow various essentials modules to
  perform setup before even the first boot wizard runs.

- This will also allow moving further setup operations from
  freedombox-setup into Plinth.
---
 setup.d/50_plinth | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100755 setup.d/50_plinth

diff --git a/setup.d/50_plinth b/setup.d/50_plinth
new file mode 100755
index 0000000..2cffccd
--- /dev/null
+++ b/setup.d/50_plinth
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Start the DBus daemon so that Plinth can install various packages
+# via PackgeKit.
+service dbus start
+
+# Run plinth setup to install various necessary program
+plinth --setup
+
+# Stop DBus daemon that is no longer required
+service dbus stop
-- 
2.7.0

Reply via email to