1 |
On Monday 01 Aug 2016 18:57:53 Mick wrote: |
2 |
> On Monday 01 Aug 2016 17:32:58 Mick wrote: |
3 |
> > On Monday 01 Aug 2016 12:19:41 waltdnes@××××××××.org wrote: |
4 |
> > > > What chroot() actually does is fairly simple, it modifies pathname |
5 |
> > > > lookups for a process and its children so that any reference to a path |
6 |
> > > > starting '/' will effectively have the new root, which is passed as |
7 |
> > > > the single argument, prepended onto the path. The current working |
8 |
> > > > directory is left unchanged and relative paths can still refer to |
9 |
> > > > files outside of the new root. |
10 |
> > |
11 |
> > Thanks Walter, it's present along with the whole of the 32bit OS fs: |
12 |
> > |
13 |
> > gentoo-32bit # ls -la /mnt/iso/gentoo-32bit/bin/bash |
14 |
> > -rwxr-xr-x 1 root root 677244 Jan 16 2016 /mnt/iso/gentoo-32bit/bin/bash |
15 |
> > |
16 |
> > gentoo-32bit # file /mnt/iso/gentoo-32bit/bin/bash |
17 |
> > /mnt/iso/gentoo-32bit/bin/bash: ELF 32-bit LSB executable, Intel 80386, |
18 |
> > version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for |
19 |
> > GNU/Linux 2.6.32, stripped |
20 |
> > |
21 |
> > |
22 |
> > Am I missing something in the amd64 kernel to be able to execute 32bit |
23 |
> > code? |
24 |
> No, I was missing the *whole* of the 32bit fs /lib directory. O_O |
25 |
> |
26 |
> Apologies for the noise. |
27 |
|
28 |
I think libreoffice, chromium and firefox will be compiled in a chroot from now |
29 |
on and then emerged as binaries. This is the difference for libreoffice: |
30 |
|
31 |
Sat Aug 29 06:09:09 2015 >>> app-office/libreoffice-4.4.4.3 |
32 |
merge time: 15 hours, 34 minutes and 2 seconds. |
33 |
|
34 |
Sun Sep 13 01:36:03 2015 >>> app-office/libreoffice-4.4.5.2 |
35 |
merge time: 15 hours, 13 minutes and 17 seconds. |
36 |
|
37 |
Sun Nov 29 02:30:04 2015 >>> app-office/libreoffice-5.0.3.2 |
38 |
merge time: 16 hours, 54 minutes and 28 seconds. |
39 |
|
40 |
Sun Mar 27 09:31:20 2016 >>> app-office/libreoffice-5.0.5.2 |
41 |
merge time: 17 hours and 8 seconds. |
42 |
|
43 |
Mon Aug 1 22:17:15 2016 >>> app-office/libreoffice-5.1.4.2 |
44 |
merge time: 1 minute and 31 seconds. |
45 |
|
46 |
(chromium takes even longer!) :-) |
47 |
|
48 |
-- |
49 |
Regards, |
50 |
Mick |