aosp_bullhead: don't verify the vendor partition

Disable dm-verity for the vendor partition in AOSP builds. This
allows the device to boot even though verity metadata is signed
with a different key.

Bug: 30074027
Change-Id: If1136c388328d7dea3d5d916ff32f8c5e3e60d5e
diff --git a/aosp_bullhead.mk b/aosp_bullhead.mk
index ec81ad3..b7fb70f 100644
--- a/aosp_bullhead.mk
+++ b/aosp_bullhead.mk
@@ -31,6 +31,8 @@
 PRODUCT_MANUFACTURER := LGE
 PRODUCT_RESTRICT_VENDOR_FILES := true
 
+PRODUCT_COPY_FILES += device/lge/bullhead/fstab.aosp_bullhead:root/fstab.bullhead
+
 $(call inherit-product, device/lge/bullhead/device.mk)
 $(call inherit-product-if-exists, vendor/lge/bullhead/device-vendor.mk)
 
diff --git a/fstab.aosp_bullhead b/fstab.aosp_bullhead
new file mode 100644
index 0000000..b5b3a01
--- /dev/null
+++ b/fstab.aosp_bullhead
@@ -0,0 +1,37 @@
+# Android fstab file.
+#<src>                                         <mnt_point>  <type>  <mnt_flags and options>  <fs_mgr_flags>
+# The filesystem that contains the filesystem checker binary (typically /system) cannot
+# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
+
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/system       /system         ext4    ro,barrier=1,inode_readahead_blks=8                             wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor       /vendor         ext4    ro,barrier=1,inode_readahead_blks=8                             wait
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata     /data           ext4    noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic,inode_readahead_blks=8 wait,check,forcefdeorfbe=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/cache        /cache          ext4    noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/persist      /persist        ext4    nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,notrim
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/modem        /firmware       vfat    ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0        wait
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/boot         /boot           emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/recovery     /recovery       emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/misc         /misc           emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/modem        /radio          emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/sbl1         /sbl1           emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/tz           /tz             emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/rpm          /rpm            emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/sdi          /sdi            emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/aboot        /aboot          emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/imgdata      /imgdata        emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/pmic         /pmic           emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/hyp          /hyp            emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/sec          /sec            emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/keymaster    /keymaster      emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/cmnlib       /cmnlib         emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/persistent   /persistent     emmc    defaults                                                        defaults
+/devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb*    auto      auto    defaults                                                        voldmanaged=usb:auto
+/dev/block/zram0                                              none            swap    defaults                                                        zramsize=533413200,notrim
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/sbl1bak      /sbl1bak        emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/tzbak        /tzbak          emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/rpmbak       /rpmbak         emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/abootbak     /abootbak       emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/pmicbak      /pmicbak        emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/hypbak       /hypbak         emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/keymasterbak /keymasterbak   emmc    defaults                                                        defaults
+/dev/block/platform/soc.0/f9824900.sdhci/by-name/cmnlibbak    /cmnlibbak      emmc    defaults                                                        defaults