summaryrefslogtreecommitdiff
path: root/auto/functions/compat
diff options
context:
space:
mode:
authorMaximilian Gerhard <maxbox@directbox.com>2012-04-08 14:42:32 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-04-25 10:59:51 +0200
commit1e3816f947c4600c5e6d9fc548429ab87f0d159a (patch)
tree9a94c55b4913562aa3e1a4d7d05ef914408921da /auto/functions/compat
parent7a6a81c0b03604a484994c863097962fdd72ed47 (diff)
downloadkanotix-1e3816f947c4600c5e6d9fc548429ab87f0d159a.zip
kanotix-1e3816f947c4600c5e6d9fc548429ab87f0d159a.tar.gz
extended compat script to respect local packages
Map lb 3 directory packages.chroot to old lb 2 directory chroot_local-packages via symlink created with Compat_dir () function.
Diffstat (limited to 'auto/functions/compat')
-rw-r--r--auto/functions/compat3
1 files changed, 3 insertions, 0 deletions
diff --git a/auto/functions/compat b/auto/functions/compat
index a524c28..250402d 100644
--- a/auto/functions/compat
+++ b/auto/functions/compat
@@ -88,6 +88,9 @@ case "$LB_VERSION" in
LB_ARCHITECTURE="$LB_ARCHITECTURES"
trap Compat_config EXIT
;;
+ lb_chroot_apt)
+ Compat_dir chroot_local-packages packages.chroot
+ ;;
lb_chroot_archives)
mkdir -p config/archives
touch config/archives.compat