David Anderson
b8112a37c3
Merge "init: only mlock() system pages when performing snapuserd transitions." am: c90fce4387 am: 0d462c23e0 am: a1e59f9d10
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1621424
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3af8018a6e83c9016eb0c7acbca9b4b40a837258
2021-03-08 21:26:42 +00:00
Devin Moore
a924cec7ff
init: handle more bootconfig parameters am: 79058486d2 am: 786355f304 am: 2bdd018b39
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1615298
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5ce7e91c2da7b115316dd4393bd723012c3ebbca
2021-03-08 20:13:05 +00:00
David Anderson
c90fce4387
Merge "init: only mlock() system pages when performing snapuserd transitions."
2021-03-08 19:32:34 +00:00
Devin Moore
786355f304
init: handle more bootconfig parameters am: 79058486d2
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1615298
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3a7250bb7c6a7694eb2431d31d9f104721a9507b
2021-03-08 18:44:30 +00:00
Devin Moore
7c98b89886
Merge changes from topic "bootconfig_args"
...
* changes:
fs_mgr: handle more bootconfig parameters
init: handle more bootconfig parameters
2021-03-08 18:27:50 +00:00
Kiyoung Kim
64349c250d
Merge "Check if service is executed before APEX is ready" am: fcb28f5d30 am: 2acff0c5e8 am: ce276e54ea
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1612017
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id706840b209c415a67b35546d9e7871c4e923262
2021-03-08 01:39:12 +00:00
Kiyoung Kim
fcb28f5d30
Merge "Check if service is executed before APEX is ready"
2021-03-07 23:56:06 +00:00
David Anderson
9fd8862741
init: only mlock() system pages when performing snapuserd transitions.
...
Bug: 181032115
Test: manual test w/ VABC OTA
Change-Id: Ib4d2856b9b5eaf8688534f9d84edeb64d4b3244d
2021-03-05 15:44:25 -08:00
Devin Moore
79058486d2
init: handle more bootconfig parameters
...
As parameters are moved from kernel cmdline to bootconfig,
first_stage_init needs to be updated to handle the new
location.
/proc/bootconfig should be checked first, if not present, then check
/proc/cmdline.
Test: launch_cvd
Test: launch_cvd with 4.19 kernel artifacts that do not support
bootconfig
Test: Both of the above configurations with --num_instances 0 or 4
Test: Both configurations with androidboot.boot_devices or
androidboot.boot_device set
Bug: 173815685
Change-Id: I03743f922351d58375e8b9a903899b8bc54bd71e
2021-03-05 09:21:19 -08:00
Kiyoung Kim
0cbee0de2a
Check if service is executed before APEX is ready
...
Any service which is executed when Runtime apex is mounted, but
linkerconfig is not updated can fail to be executed due to missing
information in ld.config.txt. This change updates init to have a status
variable which contains if current mount namespace is default
and APEX is not ready from ld.config.txt, and use bootstrap namespace if
it is not ready.
Bug: 181348374
Test: cuttlefish boot succeeded
Change-Id: Ia574b1fad2110d4e68586680dacbe6137186546e
2021-03-05 16:42:20 +09:00
Treehugger Robot
c72c69e42d
Merge "Detect the absence of the default fstab" am: d9b7c9b4a7 am: 900c6010e0 am: 8cc232422c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1607906
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib919bfa1a2d939ae7ca7629be2ac6836b99b8bb5
2021-03-02 23:27:06 +00:00
Treehugger Robot
900c6010e0
Merge "Detect the absence of the default fstab" am: d9b7c9b4a7
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1607906
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1f5b467eab74cc86c525a09210811e51459dab97
2021-03-02 21:50:30 +00:00
Jiyong Park
c6f19688f8
Detect the absence of the default fstab
...
This is a follow-up of I828ce999be6d786bf46dd5655dfda81d046906ab. The
change introduced a behavioral change that fstab is read twice: before
root is changed to /first_stage_ramdisk, and once again after that.
Previously, that happend only after the root is switched. That change
caused a problem when there is no fstab in DT and fstab is provided via
a file. The fstab file has been at
/first_stage_ramdisk/fstab.<hardware> because that file was supposed to
be read after the root switch.
With the change, init fails to read the fstab during the first attempt
because there is no /fstab.<hardware> at the moment. Here comes the
problem. Although it failed to read fstab, DoCreateService() is invoked
because ReadFirstStageFstab() doesn't report the failure; it returns an
empty fstab object. As a result, DoCreateDevices() is called but it
doesn't create the dm linear device because it couldn't find an fstab
entry having `logical` option.
Then after /first_stage_ramdisk becomes the root, the fstab file is
correctly read. But since the prior run of DoCreateDevices() is recorded
as 'done', init doesn't try to do that again; dm linear device is never
created. Then we fail to mount any of the logical partitions.
This change fixes the problem by modifying ReadFirstStageFstab()
function so that the failure is correctly reported back to the caller.
When it fails, DoCreateDevices() is not called.
Bug: N/A
Test: Watch TH
Change-Id: Idf2dbc6c0fb6c311ab3f5ff1f28315f7daa2b4ce
2021-02-26 17:58:34 +09:00
Treehugger Robot
2ba8fdfe2a
Merge "first_stage_mount: Create snapshot devices before launching first_stage_console" am: 0c931aa993 am: c30a2b00ca am: 02a1995eec
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1565166
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie422200b33f48618c6f215c5444b49fcafdb10b0
2021-02-25 23:19:29 +00:00
Treehugger Robot
c30a2b00ca
Merge "first_stage_mount: Create snapshot devices before launching first_stage_console" am: 0c931aa993
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1565166
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6d92b22489e5bae7acbe7ae7e0ecbf3f738ba719
2021-02-25 21:49:12 +00:00
Treehugger Robot
0c931aa993
Merge "first_stage_mount: Create snapshot devices before launching first_stage_console"
2021-02-25 20:58:12 +00:00
Devin Moore
37377229af
Merge "Support bootconfig in first stage init and fs_mgr" am: cb4ebecbbd am: 7e3beff24e am: bf810e9d93
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1580792
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id4b0bc6dab41d30be112065770c85da6efffb353
2021-02-24 17:57:26 +00:00
Devin Moore
7e3beff24e
Merge "Support bootconfig in first stage init and fs_mgr" am: cb4ebecbbd
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1580792
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib5cdbb7f02f963b8316439f3f9d6c0d656503155
2021-02-24 16:40:07 +00:00
Devin Moore
a4ef15bebb
Support bootconfig in first stage init and fs_mgr
...
Androidboot parameters are being moved from the kernel commandline to
bootconfig.
fs_mgr looks for these parameters in properties and falls back to
reading directly from /proc/cmdline. So both of these sources are
updated for bootconfig.
The androidboot parameters from /proc/bootconfig
are added as ro.boot properties, and fs_mgr will fall back to searching
/proc/bootconfig if it is too early.
Test: boot cuttlefish with androidboot.fstab_suffix and
androidboot.hardware in bootconfig and not in cmdline.
Test: atest CtsFsMgrTestCases
Bug: 173815685
Change-Id: Iea36a0da94c26e1aa37d97c576725e0ad77cd3ad
2021-02-23 07:42:06 -08:00
TreeHugger Robot
38aa1b393d
Merge "Merge ab/7061308 into stage." into stage-aosp-master
2021-02-23 08:45:48 +00:00
Treehugger Robot
183a133977
Merge "Revert^2 "Remove ART APEX from the bootstrap apexes"" am: acc82258cc am: 15108cd4a6 am: 059cf3a6ab
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1581185
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8e38d2670e2fc2daa039aea9848b25a783153aff
2021-02-23 03:15:04 +00:00
Treehugger Robot
059cf3a6ab
Merge "Revert^2 "Remove ART APEX from the bootstrap apexes"" am: acc82258cc am: 15108cd4a6
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1581185
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6846b4c09d601ca10eaf3b957bba7d62655881a3
2021-02-23 02:17:22 +00:00
Treehugger Robot
acc82258cc
Merge "Revert^2 "Remove ART APEX from the bootstrap apexes""
2021-02-23 00:47:22 +00:00
satayev
d317757826
Merge "Introduce load_exports action." am: 7f9fabad4f am: d30a6991bf am: ef9cb4ecf2
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1589512
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ica66311b956b1645b2103da6dcfb7f4799ebf944
2021-02-22 19:06:17 +00:00
satayev
ef9cb4ecf2
Merge "Introduce load_exports action." am: 7f9fabad4f am: d30a6991bf
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1589512
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I18290eedeb9b6c832a5919a9d3f0e978af24bda3
2021-02-22 18:45:08 +00:00
satayev
7f9fabad4f
Merge "Introduce load_exports action."
2021-02-22 17:14:19 +00:00
Lisa (LeeWei) Liu
df57474f63
Merge "init: ro.boottime.init.modules" am: 74b03a16be am: 02d2bcf0f6 am: 2f223491a4
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1574952
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icff0d087f53cda187636f5e2f56c94f1f8e7c2ee
2021-02-22 04:19:28 +00:00
Lisa (LeeWei) Liu
2f223491a4
Merge "init: ro.boottime.init.modules" am: 74b03a16be am: 02d2bcf0f6
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1574952
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8affbaf1398519f642bbbb20e61ef19391c450dd
2021-02-22 03:50:40 +00:00
Lisa (LeeWei) Liu
74b03a16be
Merge "init: ro.boottime.init.modules"
2021-02-22 01:57:17 +00:00
Bob Badour
994fe355d9
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/core" am: d0bfde2f78 am: b2145c414a am: 4cf31dacb3
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1591651
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3ea2cdf9470b391f3a1067a9f6eb666fd461d92b
2021-02-21 17:31:20 +00:00
Xin Li
493484d39e
Merge ab/7061308 into stage.
...
Bug: 180401296
Merged-In: I90ee4644f921d6bde03dbaef3f3e86fc080affaa
Change-Id: I0eff7d54656f2b4da44644429a35bdc5ba954fbc
2021-02-21 09:25:21 -08:00
Bob Badour
4cf31dacb3
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/core" am: d0bfde2f78 am: b2145c414a
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1591651
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I67de80308f4c4a44d71f597ae9203a47113d245d
2021-02-21 16:53:45 +00:00
Bob Badour
d69ad69a93
[LSC] Add LOCAL_LICENSE_KINDS to system/core
...
Added SPDX-license-identifier-Apache-2.0 to:
bootstat/Android.bp
cli-test/Android.bp
code_coverage/Android.bp
cpio/Android.bp
debuggerd/crasher/Android.bp
debuggerd/proto/Android.bp
diagnose_usb/Android.bp
fs_mgr/libdm/Android.bp
fs_mgr/libfiemap/Android.bp
fs_mgr/liblp/Android.bp
fs_mgr/libsnapshot/Android.bp
fs_mgr/libstorage_literals/Android.bp
fs_mgr/libvbmeta/Android.bp
fs_mgr/tests/Android.bp
fs_mgr/tools/Android.bp
gatekeeperd/Android.bp
healthd/Android.bp
healthd/testdata/Android.bp
init/Android.bp
init/Android.mk
init/sysprop/Android.bp
init/test_kill_services/Android.bp
init/test_service/Android.bp
libappfuse/Android.bp
libasyncio/Android.bp
libbinderwrapper/Android.bp
libcrypto_utils/Android.bp
libcrypto_utils/tests/Android.bp
libdiskconfig/Android.bp
libgrallocusage/Android.bp
libkeyutils/mini_keyctl/Android.bp
libmodprobe/Android.bp
libnetutils/Android.bp
libpackagelistparser/Android.bp
libprocessgroup/Android.bp
libprocessgroup/cgrouprc/Android.bp
libprocessgroup/cgrouprc_format/Android.bp
libprocessgroup/profiles/Android.bp
libprocessgroup/setup/Android.bp
libqtaguid/Android.bp
libsparse/Android.bp
libstats/push_compat/Android.bp
libsuspend/Android.bp
libsync/Android.bp
libsystem/Android.bp
libsysutils/Android.bp
libusbhost/Android.bp
libutils/Android.bp
libvndksupport/Android.bp
libvndksupport/tests/Android.bp
llkd/Android.bp
llkd/tests/Android.bp
property_service/libpropertyinfoparser/Android.bp
property_service/libpropertyinfoserializer/Android.bp
property_service/property_info_checker/Android.bp
qemu_pipe/Android.bp
reboot/Android.bp
rootdir/Android.bp
rootdir/Android.mk
rootdir/avb/Android.bp
rootdir/avb/Android.mk
run-as/Android.bp
sdcard/Android.bp
set-verity-state/Android.bp
shell_and_utilities/Android.bp
storaged/Android.bp
toolbox/Android.bp
trusty/apploader/Android.bp
trusty/confirmationui/Android.bp
trusty/confirmationui/fuzz/Android.bp
trusty/coverage/Android.bp
trusty/fuzz/Android.bp
trusty/fuzz/test/Android.bp
trusty/gatekeeper/Android.bp
trusty/gatekeeper/fuzz/Android.bp
trusty/keymaster/Android.bp
trusty/keymaster/fuzz/Android.bp
trusty/libtrusty/Android.bp
trusty/libtrusty/tipc-test/Android.bp
trusty/secure_dpu/Android.bp
trusty/storage/interface/Android.bp
trusty/storage/lib/Android.bp
trusty/storage/proxy/Android.bp
trusty/storage/tests/Android.bp
trusty/utils/spiproxyd/Android.bp
trusty/utils/trusty-ut-ctrl/Android.bp
usbd/Android.bp
watchdogd/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
debuggerd/Android.bp
fastboot/Android.bp
libkeyutils/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT
to:
libcutils/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
to:
fs_mgr/Android.bp
fs_mgr/libfs_avb/Android.bp
trusty/Android.bp
trusty/utils/rpmb_dev/Android.bp
Added SPDX-license-identifier-BSD
to:
fastboot/fuzzy_fastboot/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Id740a7d2884556081fdb68876584b25eb95e1bef
2021-02-19 12:59:05 -08:00
Artur Satayev
500946b637
Introduce load_exports action.
...
The action reads a file with individual `export` actions declared on
each line, and calls `setenv` for each.
See go/updatable-classpath for details on how this is going to be used.
Bug: 180105615
Test: manual
Change-Id: I5390e52cf8ffd9c3babf31ed854eeecc727351eb
2021-02-19 17:12:26 +00:00
Lisa Liu
08c862fa00
init: ro.boottime.init.modules
...
Add a property ro.boottime.init.modules to provide kernel modules
loading time in milliseconds. Also add corresponding log to show in init
log along with loaded module count.
Test: boot test
Bug: 178143513
Change-Id: I77e3939c2a271da6841350a8c2a34ad32f637377
2021-02-19 15:59:04 +08:00
Treehugger Robot
ab2290b7d2
Merge "Build first-stage init in Soong" am: 9e22a46db9 am: b8eed6199c am: 844eaae056
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1588294
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2d1fa78344f72783d447479176cd2503e6c50792
2021-02-18 00:30:32 +00:00
Treehugger Robot
844eaae056
Merge "Build first-stage init in Soong" am: 9e22a46db9 am: b8eed6199c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1588294
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifa81eb2609fdf1b16783c06c5762e6bf97593a92
2021-02-18 00:08:40 +00:00
Treehugger Robot
f5186a5128
Merge "Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/core"" am: ca474f994d am: aea25045ba am: fa48b67e98
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1590280
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifdbd05d3e1c993bf1b6c92161669555fba108abd
2021-02-17 00:46:03 +00:00
Treehugger Robot
fa48b67e98
Merge "Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/core"" am: ca474f994d am: aea25045ba
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1590280
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia4e260336598133c4c5f31e7e1bca3d7c76c368a
2021-02-17 00:25:28 +00:00
Elliott Hughes
c3a206ccda
Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/core"
...
This reverts commit 187b7d1950 .
Reason for revert: system/core is multiple projects, not one.
Change-Id: I790ea41741f8cd9b8b6db2f59a49e71fb0958fd6
2021-02-16 20:01:20 +00:00
Treehugger Robot
34add4fe2c
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/core" am: d0aa350c02 am: 504895aacb am: d856628451
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1589006
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I85c87dc31f7599b64202578ed33587eeadb1650f
2021-02-16 19:41:17 +00:00
Treehugger Robot
d856628451
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/core" am: d0aa350c02 am: 504895aacb
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1589006
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia4581660b38a7782043c41baba6e62dfaae55b72
2021-02-16 18:48:21 +00:00
Bob Badour
187b7d1950
[LSC] Add LOCAL_LICENSE_KINDS to system/core
...
Added SPDX-license-identifier-Apache-2.0 to:
bootstat/Android.bp
cli-test/Android.bp
code_coverage/Android.bp
cpio/Android.bp
debuggerd/crasher/Android.bp
debuggerd/proto/Android.bp
diagnose_usb/Android.bp
fs_mgr/libdm/Android.bp
fs_mgr/libfiemap/Android.bp
fs_mgr/liblp/Android.bp
fs_mgr/libsnapshot/Android.bp
fs_mgr/libstorage_literals/Android.bp
fs_mgr/libvbmeta/Android.bp
fs_mgr/tests/Android.bp
fs_mgr/tools/Android.bp
gatekeeperd/Android.bp
healthd/Android.bp
healthd/testdata/Android.bp
init/Android.bp
init/Android.mk
init/sysprop/Android.bp
init/test_kill_services/Android.bp
init/test_service/Android.bp
libappfuse/Android.bp
libasyncio/Android.bp
libbinderwrapper/Android.bp
libcrypto_utils/Android.bp
libcrypto_utils/tests/Android.bp
libdiskconfig/Android.bp
libgrallocusage/Android.bp
libkeyutils/mini_keyctl/Android.bp
libmodprobe/Android.bp
libnetutils/Android.bp
libpackagelistparser/Android.bp
libprocessgroup/Android.bp
libprocessgroup/cgrouprc/Android.bp
libprocessgroup/cgrouprc_format/Android.bp
libprocessgroup/profiles/Android.bp
libprocessgroup/setup/Android.bp
libqtaguid/Android.bp
libsparse/Android.bp
libstats/push_compat/Android.bp
libsuspend/Android.bp
libsync/Android.bp
libsystem/Android.bp
libsysutils/Android.bp
libusbhost/Android.bp
libutils/Android.bp
libvndksupport/Android.bp
libvndksupport/tests/Android.bp
llkd/Android.bp
llkd/tests/Android.bp
property_service/libpropertyinfoparser/Android.bp
property_service/libpropertyinfoserializer/Android.bp
property_service/property_info_checker/Android.bp
qemu_pipe/Android.bp
reboot/Android.bp
rootdir/Android.bp
rootdir/Android.mk
rootdir/avb/Android.bp
rootdir/avb/Android.mk
run-as/Android.bp
sdcard/Android.bp
set-verity-state/Android.bp
shell_and_utilities/Android.bp
storaged/Android.bp
toolbox/Android.bp
trusty/apploader/Android.bp
trusty/confirmationui/Android.bp
trusty/confirmationui/fuzz/Android.bp
trusty/coverage/Android.bp
trusty/fuzz/Android.bp
trusty/fuzz/test/Android.bp
trusty/gatekeeper/Android.bp
trusty/gatekeeper/fuzz/Android.bp
trusty/keymaster/Android.bp
trusty/keymaster/fuzz/Android.bp
trusty/libtrusty/Android.bp
trusty/libtrusty/tipc-test/Android.bp
trusty/secure_dpu/Android.bp
trusty/storage/interface/Android.bp
trusty/storage/lib/Android.bp
trusty/storage/proxy/Android.bp
trusty/storage/tests/Android.bp
trusty/utils/spiproxyd/Android.bp
trusty/utils/trusty-ut-ctrl/Android.bp
usbd/Android.bp
watchdogd/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
debuggerd/Android.bp
fastboot/Android.bp
libkeyutils/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT
to:
Android.bp
libcutils/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
to:
fs_mgr/Android.bp
fs_mgr/libfs_avb/Android.bp
trusty/utils/rpmb_dev/Android.bp
Added SPDX-license-identifier-BSD
to:
fastboot/fuzzy_fastboot/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I5bd81adb5cdcf2b4dd4141b204eb430ff526af8f
2021-02-16 04:10:03 -08:00
Jiyong Park
13eb053a25
Build first-stage init in Soong
...
The first-stage init has been built in Make due to some requirements
(like placing it directly under the root directory rather than bin/, and
creating mountpoints like /proc, etc.) that are not supported in Soong.
However, Ie06dc5a93635ea8b1e18be517ed8615b6c82fee6 will make it possible
to satisfy the requirements in Soong. The build of the boot image is
done in Soong and we can create mount points using the `dirs` property
and create a symlink /init that points to /bin/init_vendor using the
`symlinks` property.
To complete the picture of build everying in Soong, this change adds a
Soong-version of the first-stage init.
Note that the Soong-based boot image creation is currently only for the
microdroid usecase. Therefore, the Android.mk-based first-stage init
still remains and will be removed later.
Bug: 178562516
Test: m init_first_stage_soong
Change-Id: I278cb60a11d94fb48341fd3592be0652a25bdbfb
2021-02-16 12:21:49 +09:00
Jiyong Park
9c4ecdd84e
Revert^2 "Remove ART APEX from the bootstrap apexes"
...
6d869dd6ab
Change-Id: I24906b7520ae01e586687ae26fcf6d8b63d9978d
2021-02-10 07:17:19 +00:00
Akilesh Kailash
d7a562aaaa
Merge "libsnapshot: No transition of snapuserd during second stage init" am: b5f0a3b73b am: c42cac92f7 am: 08ce68c0d3
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1581175
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iec4df6052ab21cad2e8b55a4ade21d0c706af71e
2021-02-10 02:11:02 +00:00
Akilesh Kailash
08ce68c0d3
Merge "libsnapshot: No transition of snapuserd during second stage init" am: b5f0a3b73b am: c42cac92f7
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1581175
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4a4497bb19b23470a25a57c5f4822ee096e61799
2021-02-10 01:44:51 +00:00
Akilesh Kailash
03e803455e
libsnapshot: No transition of snapuserd during second stage init
...
When there is a transition of daemon from selinux stage, we observe
intermittent hangs during OTA. This is a workaround wherein
we don't do the transition and allow the daemon to continue which
was spawned during selinux stage.
Bug: 179331261
Test: Incremental OTA, full OTA on pixel
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I622a0ed8afcd404bac4919b1de00728de2c12eaf
2021-02-09 22:45:29 +00:00
Treehugger Robot
27a3410388
Merge "Relax the language around parallel_restorecon." am: cb9e1decf0 am: c9884e0e8b am: b5d4ddf10e
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1581174
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0431870e70325732436ee00832d8de3f11a5c18d
2021-02-09 13:00:28 +00:00
Treehugger Robot
b5d4ddf10e
Merge "Relax the language around parallel_restorecon." am: cb9e1decf0 am: c9884e0e8b
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1581174
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iff3e847b75e5e8f4add51f66459d10f4cc3d16b8
2021-02-09 12:32:45 +00:00