Talk:TTY Autologin

From Alpine Linux
Revision as of 06:47, 15 September 2023 by MarcoDG (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Isn't this just reinventing the wheel?

Instead of going through the trouble of compiling something, wouldn't it be much easier to apk add agetty (from main) and use the -a (--autologin) option? –zcrayfish (talkcontribssend email) 02:13, 11 September 2023 (UTC)

Disregard because I edited the article to have both. (the agetty option was needed for the non-edge users in any case) –zcrayfish (talkcontribssend email) 08:32, 12 September 2023 (UTC)
tcc is not a mandatory package, it is just a C compiler, I initially choose it because it is small (~1Mb) in contrast to gcc (>100Mb), but if the issue is that it is on edge, then it is enough to use gcc which is in main, simple as that. Also agetty is times larger then a mere system call. –MarcoDG 08:39, 15 September 2023 (CET)