[Buildroot] Can buildroot support WSL config file
陶泽宇
i at taozeyu.com
Thu Nov 2 05:28:37 UTC 2023
Thanks. It works to me.
> 2023年11月1日 17:06,Yann E. MORIN <yann.morin.1998 at free.fr> 写道:
>
> 陶泽宇, All,
>
> On 2023-11-01 16:04 +0800, 陶泽宇 spake thusly:
>> Many Linux distributions run "systemd" by default. But if you want WSL runs systemd by default, you need to put something in the
>> file /etc/wsl.conf.
>> [boot]
>> systemd=true
>> ( To see [1]https://learn.microsoft.com/en-us/windows/wsl/wsl-config#configuration-settings-for-wslconf )
>> Can buildroot supports it in config panel? Maybe support some options in system/Config.in to generate /etc/wsl.conf. only a single
>> checkbox or more list of options mentioned in Microsoft WSL documents.
>
> This file is not part of systemd; systemd does not even look at this
> file at all.
>
> Instead, as I understand it, it is looked up by the WSL2 virtual machine
> runtime. As such, it is part of the integration with your "machine"
> (virtual in this case).
>
> Buildroot already offers a way to customise the generated root
> filesystem in various ways, like a rootfs overlay, or a post-build
> script; see the manual for further details;
> https://buildroot.org/downloads/manual/manual.html#rootfs-custom
>
> Regards,
> Yann E. MORIN.
>
>>
>> Links:
>> 1. https://learn.microsoft.com/en-us/windows/wsl/wsl-config#configuration-settings-for-wslconf
>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
>
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
> '------------------------------^-------^------------------^--------------------'
>
More information about the buildroot
mailing list