1 |
> Fred Elno wrote: |
2 |
>> I have found that the error must come from the -l option which is passed with catalyst, when I manually run the |
3 |
>> command, -l option change the charset to ISO-8859-1 which one is found in my locale, but when the command is run |
4 |
>> from |
5 |
>> catalyst |
6 |
>> the script failed and mkisofs is unable to find my ISO-8859-1 charset from my locale. |
7 |
> |
8 |
> I'm not sure where you got the impression that the -l option has anything to do |
9 |
> with character sets. According to the man page, it just controls whether |
10 |
> filenames are allowed to be 31 characters vs. the MS-DOS 8.3 restriction. |
11 |
> |
12 |
You are right, but the error I see seem to have something to deal with character set and perhaps I have not being able |
13 |
to explain my problem clearly (I have probably misunderstood what -l option was supposed to do). |
14 |
Here is what output is given with catalyst: |
15 |
|
16 |
$ catalyst -f /home/ftp/catalyst/livecd-stage2.spec |
17 |
[...] |
18 |
Resume point detected, skipping target_setup operation... |
19 |
--- Running action sequence: setup_overlay |
20 |
--- Running action sequence: create_iso |
21 |
Creating ISO using ISOLINUX bootloader |
22 |
mkisofs -J -R -l -V "catalyst 2008.0" -o /home/ftp/catalyst/iso/install-amd64.iso -b isolinux/isolinux.bin |
23 |
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table |
24 |
/home/ftp/catalyst/builds/default/livecd-stage2-amd64-2008.0/ |
25 |
Unknown charset |
26 |
Known charsets are: |
27 |
iso8859-2 |
28 |
iso8859-13 |
29 |
iso8859-16 |
30 |
[...] |
31 |
iso8859-14 |
32 |
cp852 |
33 |
cp10081 |
34 |
mkisofs: 'iconv -l' lists more available names. |
35 |
Cannot make ISO image |
36 |
|
37 |
and if I type manually the same commandline used for mkisofs, it work: |
38 |
|
39 |
$ mkisofs -J -R -l -V "catalyst 2008.0" -o /home/ftp/catalyst/iso/install-amd64.iso -b isolinux/isolinux.bin \ |
40 |
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ |
41 |
/home/ftp/catalyst/builds/default/livecd-stage2-amd64-2008.0/ |
42 |
Setting input-charset to 'ISO-8859-1' from locale. |
43 |
Size of boot image is 4 sectors -> No emulation |
44 |
11.45% done, estimate finish Tue Dec 9 18:28:19 2008 |
45 |
[...] |
46 |
91.62% done, estimate finish Tue Dec 9 18:28:19 2008 |
47 |
Total translation table size: 2048 |
48 |
Total rockridge attributes bytes: 2022 |
49 |
Total directory bytes: 4096 |
50 |
Path table size(bytes): 26 |
51 |
Max brk space used 0 |
52 |
43668 extents written (85 MB) |
53 |
|
54 |
That's why I was thinking about something strange that's happening perhaps not because of -l option but probably |
55 |
related to character set: |
56 |
|
57 |
From the command ran with catalyst, mkisofs is not able to set my input-charset to 'ISO-8859-1' |
58 |
If mkisofs is ran from a console, the setting of my input-charset is correctly done and the iso file is correctly |
59 |
generated. |
60 |
|
61 |
I hope that I am not too confused in my understanding of this problem. |
62 |
|
63 |
> -- |
64 |
> Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
65 |
> Gentoo Linux Developer Catalyst/Genkernel + Release Engineering Lead |
66 |
> |
67 |
> |
68 |
|
69 |
|
70 |
http://www.drakonix.fr |