Update upgrade instructions for 4.0.0

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-05-22 10:54:15 +02:00
parent 01bfae82ce
commit 913367606e

View file

@ -1,14 +1,18 @@
WARNING! Following these upgrade instructions will reset all packages! If you
want to keep the package contents, please create a backup before starting the
upgrade process and import the source tarballs into the Git repositories
afterwards.
1. Add a field for the SSH public key to the Users table: 1. Add a field for the SSH public key to the Users table:
---- ----
ALTER TABLE Users ADD COLUMN SSHPubKey VARCHAR(4096) NULL DEFAULT NULL; ALTER TABLE Users ADD COLUMN SSHPubKey VARCHAR(4096) NULL DEFAULT NULL;
---- ----
2. Create a new user and set up a patched version of the sshd as 2. Create a new user and configure the sshd as described in INSTALL.
described in INSTALL.
3. Create a directory for the package base Git repositories and run 3. Run gen-templates.py to initialize the Git repository template. Create a
init-repos.py to initialize them. directory for the Git repositories and run init-repos.py to initialize them.
4. Reset the packager field of all package bases: 4. Reset the packager field of all package bases: