From 5485505c4f772aee68a2f99a5d4f2d6e1ffabda3 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 6 Feb 2016 16:50:00 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index db653a7..8563a17 100644 --- a/README.md +++ b/README.md @@ -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/*.