rehosting / linux_builder

0 stars 1 forks source link

Inconsistent CONFIG_DEVTMPFS_MOUNT #1

Closed AndrewFasano closed 9 months ago

AndrewFasano commented 9 months ago

For now I'm adding an explicit mount into our default init scripts, but this should be either universally enabled or universally disabled

EDIT: fixed by making it universally enabled

AndrewFasano commented 9 months ago

I think the reason this had been disabled before is that it behaves slightly differently between arm/mips. In a mips guest if we haven't already created /dev in our filesystem before boot, devtmpfs will fail to create the mount. With an arm guest I was seeing the init script is able to create /dev and then have devtmpfs get automatically mounted after.

I think what we now have is correct: devtmpfs_mount is always enabled and in our static filesystem creation we'll make sure /dev is a directory