1 |
>>>>> On Sun, 07 Dec 2014, Zac Medico wrote: |
2 |
|
3 |
> On 12/07/2014 07:06 PM, Christoph Junghans wrote: |
4 |
>> I know, I am late to the party, I just wanted to say that in |
5 |
>> unpacker.eclass I implemented a variant which uses neither deb2tags |
6 |
>> nor ar on prefix, but just bash's read and head. |
7 |
|
8 |
The code uses "head -c" which is a GNU extension: |
9 |
|
10 |
$ man 1p head |
11 |
HEAD(1P) POSIX Programmer's Manual HEAD(1P) |
12 |
[...] |
13 |
SYNOPSIS |
14 |
head [−n number] [file...] |
15 |
[...] |
16 |
|
17 |
For example, on OpenBSD and HPUX there is no -c option, or it is used |
18 |
differently. Also Busybox doesn't have it. |
19 |
|
20 |
Are we better off by requiring GNU head instead of GNU ar? |
21 |
|
22 |
> Very nice. We should borrow that code and use it to eliminate the |
23 |
> need for deb2targz in portage. |
24 |
|
25 |
In PMS, this would have to go into EAPI 6, I suppose? |
26 |
|
27 |
Ulrich |