From 40a5a284ec823e6399b178dfe6919b2a3459207a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 29 Jun 2014 19:51:24 +0200 Subject: Fix chroot and other /target prefixing for script.sh. --- bin/pkglist2preseed | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/pkglist2preseed b/bin/pkglist2preseed index 61300a3..696398c 100755 --- a/bin/pkglist2preseed +++ b/bin/pkglist2preseed @@ -25,6 +25,8 @@ perl -p \ -e 's,__PKGLIST__,$ENV{"pkglist"},;'\ -e 's,__TWEAKDESC__,$ENV{"tweakdesc"},;'\ -e 's,__TWEAKLIST__,$ENV{"tweaklist"},;'\ + -e 's,chroot\s+/target\s+,,g;'\ + -e 's,/target/,/,g;'\ < $altinfile \ > $altoutfile~ mv -f $altoutfile~ $altoutfile -- cgit v1.2.3