From e7d9662d955c7fbccc10ba71e43e59330b6b0ced Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 14 Apr 2019 13:32:55 +0000 Subject: [PATCH 1/2] set nice level of work intensive tasks --- defaults/main.yml | 2 ++ tasks/build.yaml | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 1d00f6c..3b4b881 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -20,3 +20,5 @@ live_build_directory: /opt/live live_build_desktop: true live_build_iso_publisher: custom + +live_build_nice_level: 14 diff --git a/tasks/build.yaml b/tasks/build.yaml index c600108..c101803 100644 --- a/tasks/build.yaml +++ b/tasks/build.yaml @@ -1,25 +1,33 @@ --- - name: lb bootstrap (first build stage) - command: lb bootstrap + command: + nice -n {{ live_build_nice_level }} + lb bootstrap args: chdir: "{{ live_build_directory }}" register: _lb_bootstrap - name: lb chroot (second build stage) - command: lb chroot + command: + nice -n {{ live_build_nice_level }} + lb chroot args: chdir: "{{ live_build_directory }}" register: _lb_chroot - name: lb installer (third build stage) - command: lb installer + command: + nice -n {{ live_build_nice_level }} + lb installer args: chdir: "{{ live_build_directory }}" register: _lb_installer - name: lb binary (fourth build stage) - command: lb binary + command: + nice -n {{ live_build_nice_level }} + lb binary args: chdir: "{{ live_build_directory }}" register: _lb_binary From 777c212e389998592adda80627bdbede1449b9ed Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Tue, 6 Aug 2019 11:35:29 +0200 Subject: [PATCH 2/2] debian buster --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 3b4b881..3a9e4e9 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -10,7 +10,7 @@ live_build_bootappend_live: timezone=Europe/Berlin keyboard-layouts=de -live_build_distribution: stretch +live_build_distribution: buster debian_nonfree_firmware: true