Update README.md

This commit is contained in:
Ettore Di Giacinto
2016-02-06 16:50:00 +01:00
parent 0fbff0b90b
commit 5485505c4f
+10
View File
@@ -10,6 +10,11 @@ sudo equo i sabayon-devkit
# Building package in a clean environment
## Prerequisites
* docker installed in the machine (`sudo equo i docker`), and the daemon started (`sudo systemctl start docker`)
* if you don't want to run that as root, the user where are you running the script must be in the docker group (`sudo gpasswd -a $USER docker`)
Packages can be built in a clean environment with docker by running `sabayon-buildpackages`.
*`sabayon-buildpackages` is just a script wrapper around the `builder` perl script which is placed inside a docker container.*
@@ -72,6 +77,11 @@ This is the folder structure that will be automatically created:
# Create Sabayon repository from *.tbz2 in a clean environment
## Prerequisites
* docker installed in the machine (`sudo equo i docker`), and the daemon started (`sudo systemctl start docker`)
* if you don't want to run that as root, the user where are you running the script must be in the docker group (`sudo gpasswd -a $USER docker`)
You can create Sabayon repositories from packages built with emerge in a clean environment with docker by running `sabayon-createrepo`.
The script will use a docker container to inject packages from *portage_artifacts/* in your project folder, the output will be available in *entropy_artifacts/*.