Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why bash script, that works in "Debian", does not work on "Gentoo" install CD?
Date: Fri, 28 Jul 2017 17:58:02
Message-Id: 30646753.vV9zjicBHo@dell_xps
In Reply to: Re: [gentoo-user] Why bash script, that works in "Debian", does not work on "Gentoo" install CD? by "Ста Деюс"
1 On Saturday 29 Jul 2017 00:24:09 Ста Деюс wrote:
2 > >> Why bash script (the install script), that works in "Debian", does
3 > >> not
4 > >> work on "Gentoo" install CD, giving me syntax errors (basically
5 > >> related to '(', ')' and ''')? In the script is the interpreter line
6 > >>
7 > >> #!/bin/bash
8 > >
9 > > You say that line appears in both scripts, but is it the first line?
10 > > Unaccompanied and not preceded by anything?
11 >
12 > Yes, it is just a copy from "Debian".
13 >
14 > >> PS Why no semi/full -automatic install script/package in "Gentoo"?
15 > >
16 > > It doesn't work that way. Gentoo is all about choice, and that
17 > > includes
18 > > choice of what is installed, and where and when. You have to make
19 > > those
20 > > choices. Even choosing what sort of system is installed (multi-lib,
21 > > hardened, synchronised via git or rsync, ...). All in the name of
22 > > flexibility and doing one's own thing.
23 >
24 > All those choices could be handled while auto install process -- just
25 > as other distro-s do, only with that exception, that the chosen
26 > packages are compiled first and only then get installed. At least, the
27 > "base" profile (just working kernel, package manager, network) would
28 > fit to get automatically installed "Gentoo" system leaving all the
29 > spectrum of choices behind installation process. -- I do not think it
30 > is wise to spend hours just to configure system before compilation
31 > process itself, reading all the time manual, even let be the
32 > truncated page of that manual. Computers are all about automation, and
33 > trivial process regarding its working should be automated. The best
34 > approach would be checklists of checklists -- similar to kernel's
35 > configuration, that once chosen, gets compiling, installing -- all
36 > automatically. There even sets like all is included -- to bother not
37 > for the unconcerned.
38 >
39 > But something tells me the reason of absence of the installer are
40 > much deeper.
41 >
42 > Sthu.
43
44 Following the manual, taking your time, reading/researching/deciding what you
45 want to install, when and how, has the side-effect of imparting some specific
46 Gentoo education. I guess you could have a script do most of this for you
47 with a lot of default options, but this would leave you pretty much with the
48 level of knowledge you had when you started. For some people this would be an
49 inadequate level to keep a Gentoo system going for any length of time.
50
51 In any case, if you look at the Gentoo forums there have been a number of
52 scripts over the years doing what you're after. Perhaps one of those with a
53 bit of modification would suit your needs.
54 --
55 Regards,
56 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature