Age | Commit message (Collapse) | Author |
|
01032d1e40
Change-Id: Idc20381d2962dd06f4f64ef711971609ce4c5cfd
|
|
602ca1a631
Change-Id: I857d4f01759a807bb4d4665ec215994a3cd43d7d
|
|
Module framework_manifest.xml does not exist. Module framework_matrix.xml
contains product matrices as well, which it doesn't have.
Also clarify this in the comment (that product / odm / system_ext VINTF
data is excluded.)
Test: m check-vintf-all
Change-Id: I1acc21159ace87dc948bf0739845d68cc8552f7c
|
|
Reflect name changes.
Test: builds
Change-Id: I0d304c9069147e2b78f581cecf3d91acc108d457
|
|
am: 49fff4fcfa
Change-Id: Ie40c356b28e6986527032aee7670a2b6dba60733
|
|
There is no reason for these scripts to continue to exist in /, when
they are better suited for /system/etc. There are problems keeping
them at / as well, particularly that they cannot be updated with
overlayfs.
Bug: 131087886
Bug: 140313207
Test: build/boot
Merged-In: I67d907c989b95c32dae7bc4e6f8918de518bac8f
Change-Id: I67d907c989b95c32dae7bc4e6f8918de518bac8f
|
|
There is no reason for these scripts to continue to exist in /, when
they are better suited for /system/etc. There are problems keeping
them at / as well, particularly that they cannot be updated with
overlayfs.
Bug: 131087886
Bug: 140313207
Test: build/boot
Merged-In: I67d907c989b95c32dae7bc4e6f8918de518bac8f
Change-Id: I67d907c989b95c32dae7bc4e6f8918de518bac8f
|
|
This is going away, due to its last user (libagl) going away
Change-Id: I2daa4bba49996801f6837ade070a591c0b608886
|
|
APEX.
This is to fix the APEX_MODULE_LIBS test in main.mk. Another possible
approach is to set DISABLE_APEX_LIBS_ABSENCE_CHECK here - it depends on what
kind of product this actually produces.
Test: build/soong/build_test.bash
Bug: 118374951
Change-Id: I9931d3267f4b0673afcb78e0d1af7a7579db8fa6
|
|
This assumes there are no direct external (to the Runtime APEX) dependencies
on libsigchain.
Test: m droid (fails with fsconfig error that is the same on clean ToT)
Test: m dump-files; check that libsigchain doesn't occur in output
Bug: 118374951
Bug: 124293228
Change-Id: I4e826afe69acc8c99599e6f7626588009b493691
|
|
Also remove adbd, which is almost definitely not required.
Bug: 123925742
Test: treehugger
Change-Id: I7a8149dff5c1cf2e4130786bf07c76cf7d6237ab
|
|
Test: treehugger
Change-Id: I496cd01c9ab7e248ae062d29510ca2066102490b
|
|
In preparation for splitting PRODUCT_HOST_PACKAGES and PRODUCT_PACKAGES
Test: treehugger
Change-Id: I8a521e54f7fbdc0a03494263923730ab27a4eb7e
Merged-In: I8a521e54f7fbdc0a03494263923730ab27a4eb7e
|
|
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.
Bug: 120782499
Test: m -j100
Change-Id: I085b214f0ce438b26c282b65dfd61a78b7251893
Merged-In: I085b214f0ce438b26c282b65dfd61a78b7251893
|
|
am: 0d977b69ff
Change-Id: I9719e2929e5ec15d34f8dc8663375482a53999b5
|
|
Now that embedded.mk has been inserted into uml.mk, just remove
surfaceflinger.
Test: m; check for surfaceflinger
Change-Id: I811ed02b2b02097da1fa885b7ab4e35ca4bea633
|
|
embedded.mk is being deleted, so inline its contents in uml.mk
which is one of the only two targets inheriting it.
Bug: 80410283
Test: diff products variables with multiproduct_kati
Change-Id: I620296cfa62ed8b6fcab3264eb1d42799263e5e2
Merged-In: I620296cfa62ed8b6fcab3264eb1d42799263e5e2
|
|
embedded.mk is being deleted, so inline its contents in uml.mk
which is one of the only two targets inheriting it.
Bug: 80410283
Test: diff products variables with multiproduct_kati
Change-Id: I620296cfa62ed8b6fcab3264eb1d42799263e5e2
Merged-In: I620296cfa62ed8b6fcab3264eb1d42799263e5e2
|
|
After running UML, it is now possible to connect with adb using
$ adb connect 192.168.0.253
Added init.eth0.sh script to configure tuntap connection to host.
Modified init.uml.rc to run init.eth0.sh on boot.
Added SELinux rules for init.eth0.sh to run during init.
=== To run ===
Install UML utilities
$ sudo apt-get install uml-utilities
$ sudo mv /usr/lib/uml/uml_net /usr/bin/uml_net
$ sudo chmod +x /usr/bin/uml_net
Compile UML userspace
$ . build/envsetup.sh
$ lunch uml-userdebug
$ make -j40
Compile UML Kernel on Android-4.9 branch
$ ARCH=um SUBARCH=x86_64 scripts/kconfig/merge_config.sh
arch/um/configs/x86_64_defconfig kernel/configs/android-base.config
kernel/configs/android-recommended.config
$ make ARCH=um SUBARCH=x86_64 CROSS_COMPILE= -j40
Run UML:
$ ./vmlinux initrd=ramdisk.img ubda=system.img ubdb=userdata.img \
androidboot.hardware=uml mem=256M umid=uml eth0=tuntap,,,192.168.0.254
Connect with adb:
$ adb connect 192.168.0.253
Test: manual
Bug: 32523022
Change-Id: Iaafc0aa701ff7d777226168a078c0a3712a3e6b8
Signed-off-by: Quang Luong <qal@google.com>
|
|
Added AndroidProducts.mk, which tells the build system to find the uml
makefile at uml.mk.
BoardConfig.mk specifies system.img to consist only of the /system
partition instead of the root. With CONFIG_BLK_DEV_INITRD=y in the
kernel, it is possible to boot from ramdisk.img and mount /data and
/system during init. TARGET_USER_MODE_LINUX enables uml-specific cflags.
TARGET_USES_64_BIT_BINDER is set to true due to UML not supporting
running 32-bit binaries in 64-bit mode.
Added fstab.uml to mount /data, /system, and the host filesystem
as a partition named /host. Since adb does not work with uml yet, an
already mounted hostfs makes it convenient to transfer files to the
uml system.
Added init.uml.rc, which tells init to mount the contents of fstab.uml
during the fs stage.
Added basic uml.mk to inherit minimal packages from embedded.mk and
copy init.uml.rc, fstab.uml, and surfaceflinger.rc into the system.img.
Failing service surfaceflinger has been disabled by the inclusion of a
custom surfaceflinger.rc file, which simply has `disabled' appended to
it.
Added vendorsetup.sh to add lunch combo uml-userdebug
In order to run UML for Android, you must have built the um kernel
with Android configs. To do this, run these commands from the kernel
repository:
$ ARCH=um SUBARCH=x86_64 scripts/kconfig/merge_config.sh
arch/um/configs/x86_64_defconfig kernel/configs/android-base.config
kernel/configs/android-recommended.config
$ make ARCH=um SUBARCH=x86_64 CROSS_COMPILE= -j40
The output is an executable vmlinux binary.
The command to run UML is:
$ ./vmlinux initrd=ramdisk.img ubda=system.img ubdb=userdata.img
androidboot.hardware=uml mem=256M umid=<umid>
To halt the uml process, in another terminal, run `uml_mconsole <umid>'
and supply the command `halt'.
Test: manual
Bug: 32523022
Change-Id: I4a1cd6ceb42831a995bbefd3dd8a6ca3596d65ea
Signed-off-by: Quang Luong <qal@google.com>
|