From 92027141fa4681ff9dd0f40f7b2f4a0256b4d64e Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 4 Apr 2005 09:22:15 +0000 Subject: [PATCH] fake: add a hook to the very beginning of scripts-config to source target/*/preconfig.sh (as opposed to preconfig.in), 3rd-party targets can i.e. insert external packages at that place. rediff: look if such a file exists before including [2005030221091225809] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5764 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- scripts/Config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/Config b/scripts/Config index 59def5d0c..e263a73e6 100755 --- a/scripts/Config +++ b/scripts/Config @@ -79,6 +79,11 @@ if [ $delete_mode = 1 ] ; then exit $? fi +# hook for third-party targets that need to insert additional packages before config runs, for example. +for precnf in target/*/preconfig.sh ; do + [ -f $precnf ] && . $precnf +done + if [ $do_config_cycle = 0 ] then export swpid=swp$$