summaryrefslogtreecommitdiffstats
path: root/updater/updater.c
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-15 21:05:33 +0100
committerJean-Baptiste Queru <jbq@google.com>2009-11-15 21:05:33 +0100
commitb2ce982d432338d36a41bd57e35a14459fc3d30b (patch)
tree7fd574307953a0bbde499194ab4006a7cae3f8b9 /updater/updater.c
parentmerge from donut (diff)
parenteclair snapshot (diff)
downloadandroid_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.gz
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.bz2
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.lz
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.xz
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.tar.zst
android_bootable_recovery-b2ce982d432338d36a41bd57e35a14459fc3d30b.zip
Diffstat (limited to 'updater/updater.c')
-rw-r--r--updater/updater.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/updater/updater.c b/updater/updater.c
index 31d93ae96..1aa277c7f 100644
--- a/updater/updater.c
+++ b/updater/updater.c
@@ -23,6 +23,11 @@
#include "install.h"
#include "minzip/Zip.h"
+// Generated by the makefile, this function defines the
+// RegisterDeviceExtensions() function, which calls all the
+// registration functions for device-specific extensions.
+#include "register.inc"
+
// Where in the package we expect to find the edify script to execute.
// (Note it's "updateR-script", not the older "update-script".)
#define SCRIPT_NAME "META-INF/com/google/android/updater-script"
@@ -76,6 +81,7 @@ int main(int argc, char** argv) {
RegisterBuiltins();
RegisterInstallFunctions();
+ RegisterDeviceExtensions();
FinishRegistration();
// Parse the script.