1 |
Hi Ben, |
2 |
|
3 |
Sorry hit enter too soon. Yes that's how I got rid of those |
4 |
directories in the end. See also |
5 |
https://github.com/NixOS/nixpkgs/issues/9707#issuecomment-146075784 |
6 |
for a simpler script. |
7 |
|
8 |
For now the old prefix I created in Yosemite still works and I'm fine |
9 |
sticking with it. But hopefully the official support for El Capitan |
10 |
can come sometime soon. |
11 |
|
12 |
On Thu, Oct 8, 2015 at 8:56 AM, yegle <cnyegle@×××××.com> wrote: |
13 |
> Hi Ben, |
14 |
> |
15 |
> |
16 |
> On Thu, Oct 8, 2015 at 4:18 AM, Ben Peddell <klightspeed@××××××××××××.au> wrote: |
17 |
>> |
18 |
>> -----BEGIN PGP SIGNED MESSAGE----- |
19 |
>> Hash: SHA1 |
20 |
>> |
21 |
>> You could try moving the contained directories into a lower level directory - e.g.: |
22 |
>> |
23 |
>> <<EOF |
24 |
>> #!/bin/bash |
25 |
>> |
26 |
>> for builddir in .gentoo/tmp/var/tmp/*/*; do |
27 |
>> if [ -d "$builddir/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---" ]; then |
28 |
>> dn=0 |
29 |
>> mv "$builddir/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---" ".gentoo/tmp/${builddir}-level${dn}" |
30 |
>> while [ -d "${builddir}-level${dn}/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---" ]; do |
31 |
>> mv "${builddir}-level${dn}/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---/confdir-14B---" "${builddir}-level$(( dn+1 ))" |
32 |
>> (( dn++ )) |
33 |
>> done |
34 |
>> fi |
35 |
>> done |
36 |
>> |
37 |
>> rm -rf .gentoo/tmp |
38 |
>> EOF |
39 |
>> |
40 |
>> |
41 |
>> On 05/10/15 04:37, yegle wrote: |
42 |
>>> Hello list, |
43 |
>>> |
44 |
>>> Trying to bootstrap in OS X El Capitan. It failed because there's no |
45 |
>>> profile for x86_64-apple-darwin15, which is kind of expected. |
46 |
>>> |
47 |
>>> Now I'd like to remove the directory created during the failed |
48 |
>>> bootstrap, only find there's some nasty directory structure that |
49 |
>>> essentially makes it un-deletable. |
50 |
>>> |
51 |
>>> Here's the log when I try to delete the directory: |
52 |
>>> https://gist.github.com/yegle/5e1260578627bb7d1c41 |
53 |
>>> |
54 |
>>> Any suggestions? |
55 |
>>> |
56 |
>> |
57 |
>> -----BEGIN PGP SIGNATURE----- |
58 |
>> Version: GnuPG v2 |
59 |
>> |
60 |
>> iQEcBAEBAgAGBQJWFlECAAoJEL1LaPYiwn0bmD4H+QFpxOaGfDzAHa4085xYeppH |
61 |
>> DgRuJoBrWAu8xdOaBRwBad6USAJPe56DgE642GBUk8/H490wDt6GGCSz89ltAUgt |
62 |
>> l05WbXaKC5aapijC3GdRK97jQ5Uphd6/r2mW3eHiD1gfUIIeSntH1BIHRdArHSL/ |
63 |
>> jTOBfICYtgYeP5UXPd7lzKc3ziZtPV3bDAcLEqGqYLbvRjqCxU+lIEPrMhsgvtty |
64 |
>> 5FW5RpCTwGE6Pm4V6mNUb7mpQm0xXN9FWz77NnDG3DCUyvFvhZQTmsO7OYx6QP39 |
65 |
>> PEtusvgNnLJ0SI3WjcENhL0s3XJbayqhj1xKrwS5f1xhYuAY0WZ+5ZBLPZN6OnE= |
66 |
>> =MHNc |
67 |
>> -----END PGP SIGNATURE----- |
68 |
>> |
69 |
>> |
70 |
> |
71 |
> |
72 |
> |
73 |
> -- |
74 |
> yegle |
75 |
> http://about.me/yegle |
76 |
|
77 |
|
78 |
|
79 |
-- |
80 |
yegle |
81 |
http://about.me/yegle |