/freedombox-setup

Deb package setting up a freedombox.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Set up FreedomBox using deb packages
====================================

To make sure a FreedomBox can be set up on any architecture
supported by Debian, the code and settings used to configure
packages are gathered in this deb.

The scripts in setup.d/ are executed during installation to install
and configure different parts of the FreedomBox.  Note that most setup
should be done as plinth modules on request of its user, and not
during installation.  These scripts should not make any assumtions
about hostname or encryption keys, as these will be set or generated
on the first boot.

The scripts in first-run.d/ are executed during first boot, and the
end of the boot sequence.

After freedombox-setup is installed, the /usr/lib/freedombox/setup
should be called to finish the setup.  

On the first boot, /etc/init.d/first-run is called and a reboot done
when it finishes to make sure all services are started with the
correct configuration.

To create the deb file:

    sudo apt-get install git build-essential debhelper devscripts
    cd ~/
    git clone git://anonscm.debian.org/freedombox/freedombox-setup.git
    cd freedombox-setup
    debuild