+# install all apt related files
+fcopy -r /etc/apt
+
+# remove grml-live's sources.list file from chroot:
+if [ -r $target/etc/apt/important_note.txt ] ; then
+ grep -q GRML_LIVE_SOURCES $target/etc/apt/important_note.txt && rm $target/etc/apt/important_note.txt
+fi
+
+# install grml gpg key:
+fcopy /etc/apt/grml.key
+$ROOTCMD apt-key add /etc/apt/grml.key
+# gpg --keyserver subkeys.pgp.net --recv-keys F61E2E7CECDEA787 || \
+# gpg --keyserver blackhole.pca.dfn.de --recv-keys F61E2E7CECDEA787
+# gpg --export F61E2E7CECDEA787 > $target/etc/apt/grml.key
+# $ROOTCMD apt-key add /etc/apt/grml.key
+
+# make sure the file exists
+[ -e $target/etc/apt/apt.conf ] || touch $target/etc/apt/apt.conf
+