From 86776154c858d3d13f6b3c12f4ec6b6a1937e6cd Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Fri, 26 Dec 2014 15:04:00 +0100 Subject: [PATCH] Add stub functions for different levels of persistence for software installation --- build/config | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build/config b/build/config index 0085fd0..97e78f5 100644 --- a/build/config +++ b/build/config @@ -1,3 +1,15 @@ export LC_ALL=C export DEBIAN_FRONTEND=noninteractive -minimal_apt_get_install='apt-get install -y --no-install-recommends' + +apt_get_install='apt-get install -y --no-install-recommends' +minimal_apt_get_install=$apt_get_install + +apt_get_install_permanent() { + echo $@ >> /build/permanent + $apt_get_install "$@" +} + +apt_get_install_temporary() { + echo $@ >> /build/temporary + $apt_get_install "$@" +} \ No newline at end of file