How to rebuild udev?
Posted: 26 Feb 2016, 03:45
I use an old version of Porteus because I customized it several years ago. But occasionally I replace the Linux kernel. It's comparatively easy to build the latest stable kernel and kernel modules, and update Porteus modules.
Now I have to update udev. I found various dependencies and could finally make udev compile, but the components get installed in unfamiliar places. For example a simple udev build puts some stuff in /usr/libexec/udev, but Porteus still puts stuff in old familiar locations like /sbin. How can I configure udev's build configuration to target the same installation folders that Porteus uses?
Also, while I've been sleeping, /dev/.udev was changed to /run. I see that there's a tmpfs mounted on /run, but can't find anything in the init scripts that creates /run. Where is it, or how is it done?
Now I have to update udev. I found various dependencies and could finally make udev compile, but the components get installed in unfamiliar places. For example a simple udev build puts some stuff in /usr/libexec/udev, but Porteus still puts stuff in old familiar locations like /sbin. How can I configure udev's build configuration to target the same installation folders that Porteus uses?
Also, while I've been sleeping, /dev/.udev was changed to /run. I see that there's a tmpfs mounted on /run, but can't find anything in the init scripts that creates /run. Where is it, or how is it done?