diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-06-29 19:51:24 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-06-29 19:59:25 +0200 |
commit | 40a5a284ec823e6399b178dfe6919b2a3459207a (patch) | |
tree | e3a58d746b20b7cff95fb36352cd2ec5b6ace509 | |
parent | 8acc18a0b4537f3c5f323e172e5ccaa86b6937d5 (diff) |
Fix chroot and other /target prefixing for script.sh.
-rwxr-xr-x | bin/pkglist2preseed | 2 |
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 |