History log of /system/update_engine/common/platform_constants_chromeos.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
14dbd333439f34c648b9f783ffa656ef565de0cc 02-Mar-2016 Alex Deymo <deymo@google.com> Mount the new system as 'postinstall_file' in postinstall.

When mounting the new filesystem on /postinstall, we need to override
the file attributes from the new system (unknown to the current selinux
policies) with a consistent label that will be used only in the context
of postinstall. This patch passes an extra option to mount(2) in
Brillo and Android to achieve this.

Bug: 27177071
TEST=Deployed a postinstall script with `ls -laZ`, contents show "postinstall_file".

Change-Id: Ia43b45c92e4c4cd340a884818ac00f24a418f9e7
/system/update_engine/common/platform_constants_chromeos.cc
9c12346d5dc18288153fce61e7ffd0bd8e507afc 19-Nov-2015 Sen Jiang <senj@google.com> Fix temporary directory path in Android.

We should use /data/misc/update_engine/tmp instead of /data/local/tmp.

Bug: 24478450
TEST=Delta update nolonger permission denied.

Change-Id: I9a8096e602320195d30147971def5145bd82d775
/system/update_engine/common/platform_constants_chromeos.cc
39910dcd1d68987ccee7c3031dc269233a8490bb 10-Nov-2015 Alex Deymo <deymo@google.com> Split payload application code into a subdirectory.

This patch splits from the main libupdate_engine code the part that
is strictly used to download and apply a payload into a new static
library, moving the code to subdirectories. The new library is divided
in two subdirectories: common/ and payload_consumer/, and should not
depend on other update_engine files outside those two subdirectories.
The main difference between those two is that the common/ tools are more
generic and not tied to the payload consumer process, but otherwise they
are both compiled together.

There are still dependencies from the new libpayload_consumer library
into the main directory files and DBus generated files. Those will be
addressed in follow up CLs.

Bug: 25197634
Test: FEATURES=test emerge-link update_engine; `mm` on Brillo.

Change-Id: Id8d0204ea573627e6e26ca9ea17b9592ca95bc23
/system/update_engine/common/platform_constants_chromeos.cc