-# remove leftover from /etc/grml/fai/config/hooks/instsoft.GRMLBASE:
-rm -f $target/etc/apt/sources.list.d/grml-live.list
-
-GRML_SOURCES_LIST="$target/etc/apt/sources.list.d/grml.list"
-DEBIAN_SOURCES_LIST="$target/etc/apt/sources.list.d/debian.list"
-
-[ -d $target/etc/apt/sources.list.d ] || mkdir $target/etc/apt/sources.list.d
-
-# remove any existing sources.list and inform user about the new
-# /etc/apt/sources.list.d/ setup:
-cat > $target/etc/apt/sources.list << EOF
-##### IMPORTANT NOTE ##############################################
-# The configuration file /etc/apt/sources.list has been split
-# into structured files in /etc/apt/sources.list.d/ - check out:
-#
-# /etc/apt/sources.list.d/grml.list for the grml related repositories
-# /etc/apt/sources.list.d/debian.list for official Debian repositories
-#
-# If you're looking for the "old" /etc/apt/sources.list file or
-# need some further repositories please take a look at the file
-# /etc/apt/sources.list.grml
-##### IMPORTANT NOTE ##############################################
-EOF
-
-# retrieve build information ($SUITE):
-if [ -r $target/etc/grml/grml-live-build-info ] ; then
- . $target/etc/grml/grml-live-build-info
+fcopy -v /etc/apt/sources.list
+fcopy -v /etc/apt/sources.list.d/grml-stable.list
+
+case "${SUITE:-}" in
+ etch) suite_class=DEBIAN_ETCH ;;
+ lenny) suite_class=DEBIAN_LENNY ;;
+ squeeze) suite_class=DEBIAN_SQUEEZE ;;
+ stable) suite_class=DEBIAN_STABLE ;;
+ testing) suite_class=DEBIAN_TESTING ;;
+ unstable|sid) suite_class=DEBIAN_SID ;;
+ wheezy) suite_class=DEBIAN_WHEEZY ;;
+ *) suite_class=DEBIAN_SID ;; # default to sid otherwise
+esac
+
+if ! [ -r $FAI/files/etc/apt/sources.list.d/debian.list/$suite_class ] ; then
+ echo "Error: could not find $FAI/files/etc/apt/sources.list.d/debian.list/$suite_class" >&2
+ echo "Please provide an according sources.list template." >&2
+ exit 1