Re: [PATCH v2 04/10] um: change machine name for uname output

Hajime Tazaki <[email protected]> Fri, 24 Jul 2026 16:18:08 +0900
Newsgroups org.infradead.lists.linux-um
Message-ID <[email protected]>
On Fri, 24 Jul 2026 16:16:36 +0900,
Hajime Tazaki wrote:

> > Sure, we can drop it. Or arrange so only nommu is different? Or even
> > call it SUBARCH-nommu?
> 
> systemd detects UML via systemd-detect-virt, not `uname -m`:
> 
> https://github.com/obbardc/systemd/blob/master/src/basic/virt.c#L298

sorry, I was looking at a fork repository. below should be the latest
one.

https://github.com/systemd/systemd/blob/main/src/basic/virt.c#L414

-- Hajime