Docker: Move PostmarketOS related stuff to pmb
dir
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
41aa5fce49
commit
db0c3f0a16
5 changed files with 31 additions and 6 deletions
|
@ -25,5 +25,7 @@ services:
|
|||
volumes:
|
||||
- ./data/pmb/:/data
|
||||
- ./conf/pmb/:/conf
|
||||
- ./setup-pmbootstrap:/setup-pmbootstrap
|
||||
- ./pmb/setup:/setup-pmbootstrap
|
||||
- ./pmb/pmbootstrap:/usr/bin/pmbootstrap
|
||||
- ./pmb/pmbootstrap.conf:/pmbootstrap.conf
|
||||
command: "/setup-pmbootstrap"
|
||||
|
|
2
pmb/pmbootstrap
Executable file
2
pmb/pmbootstrap
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /data/pmbootstrap/pmbootstrap.py -c /pmbootstrap.cfg -p /data/pmaports -w /data/work -y "$@"
|
20
pmb/pmbootstrap.cfg
Normal file
20
pmb/pmbootstrap.cfg
Normal file
|
@ -0,0 +1,20 @@
|
|||
[pmbootstrap]
|
||||
build_pkgs_on_install = False
|
||||
device = oneplus-enchilada
|
||||
extra_packages = fish,nano,fastfetch
|
||||
hostname = fireneko
|
||||
is_default_channel = False
|
||||
kernel = mainline
|
||||
sudo_timer = True
|
||||
systemd = never
|
||||
timezone = Europe/Moscow
|
||||
ui = phosh
|
||||
user = neko
|
||||
|
||||
[providers]
|
||||
postmarketos-base-ui-wifi = postmarketos-base-ui-wifi-wpa_supplicant
|
||||
|
||||
[mirrors]
|
||||
alpine = https://mirror.nekocwd.duckdns.org/alpine/
|
||||
pmaports = https://mirror.nekocwd.duckdns.org/postmarketos/
|
||||
systemd = https://mirror.nekocwd.duckdns.org/postmarketos/extra-repos/systemd/
|
6
pmb/setup
Executable file
6
pmb/setup
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
/setup-runner
|
||||
git clone https://git.nekocwd.duckdns.org/Mirror/pmbootstrap /data/pmbootstrap || true
|
||||
git clone https://git.nekocwd.duckdns.org/Mirror/pmaports /data/pmaports || true
|
||||
git clone https://git.nekocwd.duckdns.org/Mirror/aports /data/aports || true
|
||||
/run-runner
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
/setup-runner
|
||||
git clone https://git.nekocwd.duckdns.org/Mirror/pmbootstrap /data/pmbootstrap || true
|
||||
ln -s /data/pmbootstrap/pmbootstrap.py /usr/bin/pmbootstrap || true
|
||||
/run-runner
|
Loading…
Add table
Add a link
Reference in a new issue