summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list
new file mode 100755
index 0000000..173258f
--- /dev/null
+++ b/config/chroot_local-hooks/00-sources.list
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -f /root/build.conf ] && . /root/build.conf
+
+sed -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list
+