From 862dda19d8da57572cc4032d0882f32273dee999 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 3 Jul 2014 15:33:01 +0200 Subject: [PATCH 1/1] updatebase.GRMLBASE: execute fcopy with -i flag to ignore non-matching files Otherwise when building testing/unstable we get: | fcopy: no matching file for any class for etc/apt/preferences.d/wheezy-backports defined. and fcopy fails to execute: | updatebase.GRMLBASE FAILED with exit code 1. and causing the following '$ROOTCMD apt-key add /etc/apt/grml.key to never get executed then. --- etc/grml/fai/config/hooks/updatebase.GRMLBASE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index e1633b3..b1c22e0 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -67,7 +67,7 @@ if ! [ -e ${target}/etc/udev/kernel-upgrade ] ; then fi # install all apt related files -fcopy -B -v -r /etc/apt +fcopy -i -B -v -r /etc/apt # install Grml gpg key: $ROOTCMD apt-key add /etc/apt/grml.key -- 2.1.4