summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkglist2preseed2
1 files changed, 2 insertions, 0 deletions
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