summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-07-18 19:40:40 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-07-18 19:40:50 +0200
commit33ec05a0728219b52dbac4e9e3728bf5b0bf7898 (patch)
tree5e79af0d5f179236ca00e619214421097033102e
parent678ec453b1f96a316e4a1f61d314d6d2b2a3366a (diff)
downloadcore-GNUtoo/modem-i9300.tar.gz
core-GNUtoo/modem-i9300.tar.bz2
core-GNUtoo/modem-i9300.zip
init: Create /dev/xmm6262_boot0GNUtoo/modem-i9300
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. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--init/init.cpp2
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,