Parcourir la source

Use example auto scripts

See: https://live-team.pages.debian.net/live-manual/html/live-manual/managing-a-configuration.en.html#329
Stefan Kropp il y a 4 ans
Parent
commit
60c8d6bbf9
4 fichiers modifiés avec 24 ajouts et 1 suppressions
  1. 5 1
      README.md
  2. 5 0
      auto/build
  3. 8 0
      auto/clean
  4. 6 0
      auto/config

+ 5 - 1
README.md

@@ -1,3 +1,7 @@
 # Debian Junior Live System
 
-Debian Junior Live System
+Debian Junior Live System
+
+```
+cp /usr/share/doc/live-build/examples/auto/* auto/
+```

+ 5 - 0
auto/build

@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+lb build noauto "${@}" 2>&1 | tee build.log

+ 8 - 0
auto/clean

@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+lb clean noauto "${@}"
+
+rm -f config/binary config/bootstrap config/chroot config/common config/source
+rm -f build.log

+ 6 - 0
auto/config

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+lb config noauto \
+	"${@}"