Sign inSign up

tianon/pmbootstrap

By tianon

•Updated almost 6 years ago

DEPRECATED; chroot/build/flash tool to develop and install postmarketOS

Image
0

8.9K

tianon/pmbootstrap repository overview

https://github.com/tianon/dockerfiles/tree/master/pmbootstrap⁠

$ mkdir "$HOME/some-pmbootstrap-path"
$ docker run -it --rm \
	--mount type=bind,src="$HOME/some-pmbootstrap-path",dst=/work,bind-propagation=rslave \
	--workdir /work \
	--env HOME=/work \
	--user "$(id -u):$(id -g)" \
	--group-add wheel \
	--mount type=bind,src=/etc/passwd,dst=/etc/passwd,ro \
	--device-cgroup-rule 'a 8:* rwm' \
	--mount type=bind,src=/dev,dst=/hostdev,ro,bind-propagation=rslave \
	--cap-add SYS_ADMIN \
	--security-opt apparmor=unconfined \
	tianon/pmbootstrap
/work $ pmbootstrap init
/work $ pmbootstrap install --sdcard=/hostdev/sdf # replace "sdf" with your sdcard device

Useful extra packages (for me / my PinePhone, running xfce4):

Tag summary

Content type

Image

Digest

Size

28.2 MB

Last updated

almost 6 years ago

docker pull tianon/pmbootstrap