1 |
On Fri, Jul 28, 2017 at 10:31 AM, Ста Деюс <sthu.deus@×××××××××××.org> wrote: |
2 |
> Hi. |
3 |
> |
4 |
> |
5 |
> Why bash script (the install script), that works in "Debian", does not |
6 |
> work on "Gentoo" install CD, giving me syntax errors (basically related |
7 |
> to '(', ')' and ''')? In the script is the interpreter line |
8 |
> |
9 |
> #!/bin/bash |
10 |
> |
11 |
> and both systems contain bash, that interprets the script, why the |
12 |
> difference on syntax? |
13 |
> |
14 |
|
15 |
Can you attach to bash script you are running and the exact error |
16 |
messages? It is hard to say (at least for me) without seeing it; bash |
17 |
to bash portability issues are something I have never heard of. As a |
18 |
guess there are a variety of options you can change while running in |
19 |
the interpreter with the "set" command that can also be set in |
20 |
configuration files or the command line. Also possible is that the |
21 |
install CD contains a gimped version of bash, but typically then it's |
22 |
not called bash. It could also be running it with "set -o posix" for |
23 |
some reason. |
24 |
|
25 |
> |
26 |
> PS Why no semi/full -automatic install script/package in "Gentoo"? |
27 |
> |
28 |
|
29 |
The installation process at its core involves preparing the disks and |
30 |
then extracting the stage 3 to them. Disk preparation can be |
31 |
exceedingly complicated and making an automated installer that |
32 |
supports all possible setups is pretty hard, only fairly recently have |
33 |
distributions like Debian been able to offer automatic setup of |
34 |
encrypted LVM volume groups. Some possible configurations (per PV |
35 |
keys) still aren't supported. |
36 |
|
37 |
The other part is creating a kernel. For that there is genkernel, but |
38 |
it just compiles everything in. I'm not sure that counts as |
39 |
configuration but it is automatic. |
40 |
|
41 |
I do think the handbook leaves far too many things out that normal |
42 |
users would need. I'm trying to compile a list of useful x86/PC |
43 |
related things to add to the handbook at some point, like useful |
44 |
default make.conf and portage options. There's also a lot of |
45 |
configuration files to sort through, documenting files of interest (if |
46 |
not providing some default configuration for them) is probably a good |
47 |
idea. |
48 |
|
49 |
R0b0t1. |