History log of /system/extras/boot_control_copy/boot_control_copy.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07841a243675c42cab7e54fc1604661dcfbdc206 18-May-2017 Elliott Hughes <enh@google.com> boot_control_copy should #include <sys/sysmacros.h>.

Bug: https://github.com/android-ndk/ndk/issues/398
Test: builds
Change-Id: Icfccc98e1ff5aaa53b288e2aba0efe2c2c77a623
/system/extras/boot_control_copy/boot_control_copy.c
54e8bf712f0fb15c4356521400b002f3d7fadd25 19-May-2016 Chih-Hung Hsieh <chh@google.com> Fix misc-macro-parentheses warnings in boot_control_copy.

Bug: 28705665
Change-Id: I9a8f0bd587c70ff3c60666c9f7dfba2d6e809336
/system/extras/boot_control_copy/boot_control_copy.c
3af8b53ae8cd70abaca17b7d9140ee12a14486b8 23-Sep-2015 David Zeuthen <zeuthen@google.com> boot_control_copy: Fix getCurrentSlot().

The getCurrentSlot() method wasn't returning the right value if
setActiveBootSlot() was called with another slot since last reboot.

Instead of peeking in the misc partition, just look at the dev_t for
/system and compare it with the dev_t for system_a and system_b.

Bug: 24201805
Change-Id: I601ab5e355e0f423637e6867d0afda97f68b57fd
/system/extras/boot_control_copy/boot_control_copy.c
aaa6282361272d3f5d10867245e1e489bd9d19f6 01-Sep-2015 David Zeuthen <zeuthen@google.com> boot_control_copy: A boot_control HAL implementation that works by copying.

This boot_control HAL implementation emulates A/B by copying the
contents of the boot partition of the requested slot to the boot
partition. It hence works with bootloaders that are not yet aware of
A/B. This code is only intended to be used for development.

Change-Id: Ifcc1ff19530f9e6db1de882807a25c785e1959de
/system/extras/boot_control_copy/boot_control_copy.c