| 1 |
# Configuration and branding |
| 2 |
|
| 3 |
This project involves functional configuration (which URLs to use) |
| 4 |
and visual branding (how to name services) |
| 5 |
|
| 6 |
Upstream project by default targeted Liberty Deckplan Host "librem.one", |
| 7 |
optionally reconfiguring/rebranding that at build-time. |
| 8 |
|
| 9 |
The Debian package provides install-time reconfiguration/rebranding, |
| 10 |
with same default configuration as upstream |
| 11 |
except branding changed to use generic term "Liberty One" |
| 12 |
(not the domain-specific "Librem One"). |
| 13 |
|
| 14 |
If you want to change configuration and/or branding, |
| 15 |
then run this command: |
| 16 |
|
| 17 |
``` |
| 18 |
sudo dpkg-reconfigure ldh-gui-suite |
| 19 |
``` |
| 20 |
|
| 21 |
|
| 22 |
## Site-wide deployment |
| 23 |
|
| 24 |
If you want custom configuration and/or branding applied |
| 25 |
e.g. as part of an intranet deployment |
| 26 |
then you can [preseed] relevant settings to debian-installer. |
| 27 |
|
| 28 |
[preseed]: <https://www.debian.org/releases/stable/amd64/apb.en.html> |
| 29 |
|
| 30 |
Alternatively, if you want custom settings applied |
| 31 |
before the package is installed and regardless of it being purged, |
| 32 |
you can create the file `/usr/local/share/one.liberty/deckhost.conf` |
| 33 |
containing settings to be sourced by the Bourne shell |
| 34 |
(i.e. in same format as files below `/etc/default`), |
| 35 |
e.g. like this: |
| 36 |
|
| 37 |
``` |
| 38 |
DOMAIN="liberty.local" |
| 39 |
HUB_NAME="Liberty Local" |
| 40 |
``` |
| 41 |
|
| 42 |
|
| 43 |
## Derived distribution |
| 44 |
|
| 45 |
If you use this package as part of a derived distribution |
| 46 |
(i.e. not from Debian directly) |
| 47 |
and different defaults are more suiteable, |
| 48 |
then please suggest that to the developers of your distribution |
| 49 |
and also tell them that they need not change this package |
| 50 |
but can instead ship a file `/usr/share/one.liberty/deckhost.conf` |
| 51 |
with content same as documented for local deployment above. |
| 52 |
|
| 53 |
|
| 54 |
-- Jonas Smedegaard <[email protected]> Wed, 04 Mar 2020 20:23:11 +0100 |