Skip to content

Commit

Permalink
updatebase.GRMLBASE: execute fcopy with -i flag to ignore non-matchin…
Browse files Browse the repository at this point in the history
…g 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.
  • Loading branch information
mika committed Jul 3, 2014
1 parent b591814 commit 862dda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/grml/fai/config/hooks/updatebase.GRMLBASE
Expand Up @@ -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
Expand Down

0 comments on commit 862dda1

Please sign in to comment.