Gentoo Archives: gentoo-user

From: Paul Tobias <tobias.pal@×××××.com>
To: gentoo-user@l.g.o
Cc: swift@g.o
Subject: Re: [gentoo-user] Re: why --noclear not set on tty1 in default /etc/inittab?
Date: Wed, 12 Aug 2015 17:48:40
Message-Id: CABHv7=oVeDwLGUptWMexC26+Sc3aENNuiBKjhxXPR_HXaftLTA@mail.gmail.com
In Reply to: [gentoo-user] Re: why --noclear not set on tty1 in default /etc/inittab? by Jonathan Callen
1 On 8 August 2015 at 20:11, Jonathan Callen <jcallen@g.o> wrote:
2 >
3 > -----BEGIN PGP SIGNED MESSAGE-----
4 > Hash: SHA512
5 >
6 > On 08/08/2015 01:37 PM, James wrote:
7 > > James <wireless <at> tampabay.rr.com> writes:
8 > >
9 > >> there is *no we* in nix unless your or I step up. Fair enough!
10 > >> ::
11 > >
12 > >> git clone --bare https://gitweb.gentoo.org/proj/gli.gitCloning
13 > >> into bare repository 'gli.git'... fatal: repository
14 > >> 'https://gitweb.gentoo.org/proj/gli.git/' not found
15 > >
16 > >> It'd be wonderfully appreciated if somebody (anybody) has those
17 > >> old installer sources anywhere I can replicate them for
18 > >> tweaking.
19 > >>
20 > >
21 > > SVEN created a wonderful repositor of old portage snapshots::
22 > >
23 > >
24 > > http://blog.siphos.be/2013/12/upgrading-old-gentoo-installations/
25 > >
26 > > But, alas it has "disappeared" too?
27 > >
28 > > Granted the posted reason is a failure of guidexml:
29 > >
30 > > "Resource unavailable
31 > >
32 > > The requested resource uses Gentoo's retired web publication system
33 > > GuideXML. As support for GuideXML was disabled on May 18, 2015, the
34 > > resource can not be displayed. We hope the author provides an
35 > > updated version soon. "
36 > >
37 > >
38 > > So there is no other way to publish archived portage tree
39 > > snapshots?
40 > >
41 > > Really?
42 > >
43 > > Gentoo devs should at least appreciate the frustration the
44 > > gentoo_commoners experience:: since it looks like the only
45 > > automated installer we're going to get on gentoo is DYI.... I'm ok
46 > > with that but the simplest path (IMHO) is to just start off where
47 > > the 2009 installer left off.
48 > >
49 > >
50 > > After all, all the brilliant minds say that it cannot be be or
51 > > should not be done (create and automated gentoo installer).....
52 > >
53 > >
54 > > James
55 >
56 > Until Sven updates his code to not use GuideXML, I have linked to his
57 > snapshots in my own devspace, under
58 > <http://dev.gentoo.org/~jcallen/snapshots/>.
59 >
60 > The snapshots go back to 2008-01-20, and are current to 2015-07-20.
61
62 That's useful, thanks!
63
64 To get back to the topic, it looks like the default won't change so I
65 added a file to /etc/portage/patches/:
66
67 # cat /etc/portage/patches/sys-apps/sysvinit/inittab-no-clear.patch
68 --- inittab.old 2015-08-12 17:01:15.816699692 +0200
69 +++ inittab 2015-08-12 17:05:18.768780431 +0200
70 @@ -36,7 +36,7 @@
71 su1:S:wait:/sbin/sulogin
72
73 # TERMINALS
74 -c1:12345:respawn:/sbin/agetty 38400 tty1 linux
75 +c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear
76 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
77 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
78 c4:2345:respawn:/sbin/agetty 38400 tty4 linux
79
80 And if you have systemd, you can do something like this:
81
82 # cat '/etc/systemd/system/getty@××××.service.d/noclear.conf'
83 [Service]
84 TTYVTDisallocate=no