summaryrefslogtreecommitdiff
path: root/uml.mk
AgeCommit message (Collapse)Author
2020-01-16framework_(manifest|matrix).xml -> system* am: 5e9e45243e am: 5fe965e131 am: ↵r_aml_301500702android-mainline-12.0.0_r55android-mainline-12.0.0_r112android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseandroid11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseaml_tz2_305400100Automerger Merge Worker
01032d1e40 Change-Id: Idc20381d2962dd06f4f64ef711971609ce4c5cfd
2020-01-16device_(manifest|matrix).xml -> vendor* am: b9bbc25afa am: ed2ee05f24 am: ↵Automerger Merge Worker
602ca1a631 Change-Id: I857d4f01759a807bb4d4665ec215994a3cd43d7d
2020-01-14framework_(manifest|matrix).xml -> system*android-r-preview-1Yifan Hong
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
2020-01-14device_(manifest|matrix).xml -> vendor*Yifan Hong
Reflect name changes. Test: builds Change-Id: I0d304c9069147e2b78f581cecf3d91acc108d457
2019-11-12Move init and ueventd scripts from / to /system/etcTom Cherry
am: 49fff4fcfa Change-Id: Ie40c356b28e6986527032aee7670a2b6dba60733
2019-11-07Move init and ueventd scripts from / to /system/etcTom Cherry
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
2019-11-07Move init and ueventd scripts from / to /system/etcTom Cherry
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
2019-08-22Don't install libpixelflingerChris Forbes
This is going away, due to its last user (libagl) going away Change-Id: I2daa4bba49996801f6837ade070a591c0b608886
2019-05-14Remove libc_malloc_{hooks,debug} that should only be internal in the RuntimeMartin Stjernholm
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
2019-04-18Remove internal Runtime APEX library that shouldn't be in system.Martin Stjernholm
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
2019-04-09Remove device-only packages from PRODUCT_HOST_PACKAGESandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5Dan Willemsen
Also remove adbd, which is almost definitely not required. Bug: 123925742 Test: treehugger Change-Id: I7a8149dff5c1cf2e4130786bf07c76cf7d6237ab
2019-03-19Remove host-only packages from PRODUCT_PACKAGESDan Willemsen
Test: treehugger Change-Id: I496cd01c9ab7e248ae062d29510ca2066102490b
2019-03-06Add PRODUCT_HOST_PACKAGES for all host modules in PRODUCT_PACKAGESandroid-q-preview-1android-o-mr1-iot-release-1.0.10Dan Willemsen
In preparation for splitting PRODUCT_HOST_PACKAGES and PRODUCT_PACKAGES Test: treehugger Change-Id: I8a521e54f7fbdc0a03494263923730ab27a4eb7e Merged-In: I8a521e54f7fbdc0a03494263923730ab27a4eb7e
2019-02-05Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGESOrion Hodson
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module. Bug: 120782499 Test: m -j100 Change-Id: I085b214f0ce438b26c282b65dfd61a78b7251893 Merged-In: I085b214f0ce438b26c282b65dfd61a78b7251893
2018-06-20Stop overwriting surfaceflinger.rctemp_p_mergeDan Willemsen
am: 0d977b69ff Change-Id: I9719e2929e5ec15d34f8dc8663375482a53999b5
2018-06-19Stop overwriting surfaceflinger.rcandroid-p-preview-5android-p-preview-4android-o-mr1-iot-release-1.0.2Dan Willemsen
Now that embedded.mk has been inserted into uml.mk, just remove surfaceflinger. Test: m; check for surfaceflinger Change-Id: I811ed02b2b02097da1fa885b7ab4e35ca4bea633
2018-06-18Inline contents from embedded.mk in uml.Anton Hansson
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
2018-06-18Inline contents from embedded.mk in uml.Anton Hansson
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
2017-08-03uml: add adb support, add eth0 script sepoliciesQuang Luong
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>
2017-07-18uml: initial revisionQuang Luong
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>