diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-18 19:40:40 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-10 19:19:53 +0100 |
| commit | 9499cce182d2030aeeed1f6cf7ec85bda50494d2 (patch) | |
| tree | f960d1942176c6869429584fa417e8806505372d | |
| parent | 27db0a4caea4eabf66e958aa15700325c783ce6c (diff) | |
| download | system_core-9499cce182d2030aeeed1f6cf7ec85bda50494d2.tar.gz system_core-9499cce182d2030aeeed1f6cf7ec85bda50494d2.tar.bz2 system_core-9499cce182d2030aeeed1f6cf7ec85bda50494d2.zip | |
init: Create /dev/xmm6262_boot0 for i9300replicant-9
For some reason the shell script and its associated service that
are supposed to do that don't end up creating /dev/xmm6262_boot0.
As init does create dev nodes, it's safer to assume that it's
supposed to work.
For devices not needing /dev/xmm6262_boot0, having an
unused dev node should probably not create any issue.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
| -rw-r--r-- | init/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/init.cpp b/init/init.cpp index eb9dd755b..1282b90a9 100644 --- a/init/init.cpp +++ b/init/init.cpp @@ -596,6 +596,8 @@ int main(int argc, char** argv) { mknod("/dev/random", S_IFCHR | 0666, makedev(1, 8)); mknod("/dev/urandom", S_IFCHR | 0666, makedev(1, 9)); + mknod("/dev/xmm6262_boot0", S_IFCHR | 0777, makedev(180, 191)); + // Mount staging areas for devices managed by vold // See storage config details at http://source.android.com/devices/storage/ mount("tmpfs", "/mnt", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, |
