From 65d45d6455ba4ca3da9d43ff73f1ea5abc704512 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Mon, 22 Apr 2019 17:37:47 +0200 Subject: [PATCH] wip --- .gitignore | 1 + README.md | 26 +++++++++++++++++++++++++- root/ks/interactive | 1 - root/ks/manual | 1 - root/ks/unattended | 1 - 5 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..444ef5b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +output.iso diff --git a/README.md b/README.md index 8b4882d..d369892 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,28 @@ [![Build Status](https://drone.libreschool.org/api/badges/paspo/libreschool-iso/status.svg)](https://drone.libreschool.org/paspo/libreschool-iso) -This tool automates the generation of LibreSchool iso \ No newline at end of file +This tool automates the generation of LibreSchool iso + +## how to locally create your ISO file + +First, download the build container: +``` +docker pull registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest +``` + +Then start it with these parameters: +``` +docker run --rm \ + -v "$PWD:/drone/src" \ + -w "/drone/src" \ + registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest +``` + +If you want to skip the download of the source ISO, you can provide an already downloaded one: +``` +docker run --rm \ + -v "$PWD:/drone/src" \ + -v "$HOME/Downloads/nethserver-7.6.1810-x86_64.iso:/source.iso:ro" \ + -w "/drone/src" \ + registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest +``` diff --git a/root/ks/interactive b/root/ks/interactive index dfec2c1..65b1f4d 100755 --- a/root/ks/interactive +++ b/root/ks/interactive @@ -79,7 +79,6 @@ fi %packages @nethserver-iso @core -startpage libreschool-release %end diff --git a/root/ks/manual b/root/ks/manual index 16b8388..149bed9 100755 --- a/root/ks/manual +++ b/root/ks/manual @@ -7,7 +7,6 @@ %packages @nethserver-iso @core -startpage libreschool-release %end diff --git a/root/ks/unattended b/root/ks/unattended index 7e9c95e..9394d3b 100755 --- a/root/ks/unattended +++ b/root/ks/unattended @@ -92,7 +92,6 @@ fi %packages @nethserver-iso @core -startpage libreschool-release %end