bpfloader: Make it an init service
With this, bpfloader does not need to be started by netd and will load
at boot time.
Bug: 112334572
Change-Id: Iad777ed0a5bb5995dbf2fc176a220292a4c5e41f
Signed-off-by: Joel Fernandes <joelaf@google.com>
diff --git a/bpfloader/Android.bp b/bpfloader/Android.bp
index 22b6d73..81cdbe1 100644
--- a/bpfloader/Android.bp
+++ b/bpfloader/Android.bp
@@ -43,6 +43,8 @@
"BpfLoader.cpp",
],
+ init_rc: ["bpfloader.rc"],
+
required: [
"netd.o",
// Uncomment once security related patches ready