[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-install, and packages adding mounts



[Bastian Blank]
> libc missmatches in the installer root and the target often breaks
> such calls.

Ah, good point.  I'll test this patch and see if it work as it should.

Index: apt-install
===================================================================
RCS file: /cvsroot/d-i/debian-installer/rootskel/src/bin/apt-install,v
retrieving revision 1.18
diff -u -3 -p -u -r1.18 apt-install
--- apt-install	14 Feb 2004 10:35:00 -0000	1.18
+++ apt-install	14 Feb 2004 12:50:43 -0000
@@ -4,9 +4,9 @@ log=/var/log/messages
 queue=/var/lib/apt-install/queue
 
 # Need a sort with support for -u
-SORT=/target/usr/bin/sort
+SORT="chroot /target /usr/bin/sort"
 # busybox is missing 'comm'
-COMM=/target/usr/bin/comm
+COMM="chroot /target /usr/bin/comm"
 
 # The C.UTF-8 locale is not usable inside /target/.  Unset it here to avoid
 # warnings like 'perl: warning: Setting locale failed.'.



Reply to: