All of lore.kernel.org
 help / color / mirror / Atom feed
* Information for the Kernelnewbies Outreachy Docs
@ 2022-03-29 16:24 brunodout.dev
  2022-03-29 17:54 ` Alison Schofield
  0 siblings, 1 reply; 4+ messages in thread
From: brunodout.dev @ 2022-03-29 16:24 UTC (permalink / raw)
  To: outreachy linux kernel

Hello,

As     Roopa suggested me on IRC yesterda, I am sharing some
info    that could be updated in the KernelNewbies Outreachy
tutorial.  Some instructions for Arch(/Arch based) users and
possibly    other minimalist VM setups (I run a minimal arch
install  on a small filesystem for each kernel tree, and all
space necessary to build the kernel I use virtiofs).

I will try to enumerate them:

REQUIREMENTS

1. cpio
A    non-minimalist install will likely have cpio on it, but
case    it doesn't you'll likely get a tricky error when the
build   system runs kernel/gen_kheaders.sh. (sorry, I didn't
save the output, but the error code is 127)
Perhaps the script also needs a better error message

Cpio     requirement is also missing in the kernel compiling
docs[1].

2. ncurses5
This one isn't missing but it's outdated. It says arch users
must       build it, but actually the arch available package
'ncurses'     (version 6) worked for me so far (at least for
targets like menuconfig, which I believe to be the reason of
this requirement, right?)

3. Possibly python3
I    was following the tutorial for the staging kernel tree,
and      ran `make` to build the kernel (I usually run `make
bzImage`      followed by `make modules`, like usual in 2005
LOL),  and  got  an  error  that  python3  wasn't  found.  I
installed  python but then switched back to my old procedure
and      it worked. I'm not sure if the default target isn't
doing    something else, since re docs[1] also don't mention
python3 as a requirement.

ARCH PACKAGE NAMES

Arch  packages  are  not  as  much  granular       as  other
distributions, so some packages will be differently named. I
have listed them just in case anyone feels stuck:

1. gitk => already contained in: git
2. git-email => already contained in: git
3. esmtp => libesmtp

REFERENCES
[1] https://docs.kernel.org/process/changes.html


I        hope it becomes helpful for other applicants and to
improve the docs.

Sincerely,
Bruno | Pronouns: they/them/theirs
IRC: CodeAgain

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-01 23:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 16:24 Information for the Kernelnewbies Outreachy Docs brunodout.dev
2022-03-29 17:54 ` Alison Schofield
2022-04-01 21:38   ` Bruno Moreira-Guedes
2022-04-01 23:52     ` Alison Schofield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.