minor README improvements

This commit is contained in:
Daniel Langbein 2021-06-12 12:16:10 +02:00
parent fbb4169253
commit f297d5bc48
3 changed files with 25 additions and 12 deletions

View File

@ -15,7 +15,8 @@ Then and adjust the following files:
Build [de-p1st-repo](pkg/de-p1st-repo) ... Build [de-p1st-repo](pkg/de-p1st-repo) ...
```shell ```shell
sudo docker-compose run makepkg de-p1st-repo cd build-pkg
sudo docker-compose run --rm makepkg de-p1st-repo
``` ```
... and install it on your build-machine and your mirror-server: ... and install it on your build-machine and your mirror-server:

View File

@ -15,4 +15,4 @@ services:
#stdin_open: true # docker run -i #stdin_open: true # docker run -i
#tty: true # docker run -t #tty: true # docker run -t
privileged: true privileged: true # allow container to mount (-> airootfs)

View File

@ -2,23 +2,28 @@
## Running the installer ## Running the installer
### via custom livemedium ### Via custom livemedium
1) Build the ISO: Run script found in the base of this git repo: 1) Build custom [archiso](https://gitlab.archlinux.org/archlinux/archiso) live medium using docker in privileged mode:
```shell ```shell
./build-archiso/run.sh # dependencies: docker, docker-compose
cd build-archiso
sudo docker-compose run archiso
ls out/out_dir/*.iso
``` ```
2) Boot into the live medium and (optionally) run `screen` (to be able to scroll back in case of any errors) 2) Boot into the live medium
3) Adjust `/etc/de-p1st-installer/installer.cfg` (or delete for interactive mode) 3) (Optional) Run `screen` (to be able to scroll back in case of any errors)
4) Run the installer 4) Adjust `/etc/de-p1st-installer/installer.cfg` (or delete it for interactive mode)
5) Run the installer
```shell ```shell
de-p1st-installer de-p1st-installer
``` ```
### via official livemedium ### Via official livemedium
1) Boot into the live medium from [archlinux.org](https://archlinux.org) 1) Boot into the live medium from [archlinux.org](https://archlinux.org)
2) Add to `/etc/pacman.conf`: 2) Add to `/etc/pacman.conf`:
@ -29,11 +34,18 @@ SigLevel = Optional TrustAll
Server = https://arch.p1st.de Server = https://arch.p1st.de
``` ```
3) (Optional) Start screen with long scrollback history (to be able to scroll back in case of any errors) 3) (Optional) Install screen with a `screenrc` configuration file for long scrollback history
```shell ```shell
pacman -Sy pacman -Sy
pacman -S de-p1st-screen pacman -S de-p1st-screen
screen
``` ```
4) Continue with step (3) of "via custom livemedium"
4) Install `de-p1st-installer` to get the install script
```shell
pacman -Sy
pacman -S de-p1st-installer
```
5) Continue with step (3) of "Via custom livemedium"