16kb: Split fstab.zumapro.in to have f2fs partitions in one file
fstab.zumapro.in is splitted in 2 files: - One file will contain all the partitions that do not use f2fs fs. - One file will contain all the partitions that use f2fs fs. This will allow in the future to configure /data and /metadata with ext4 fs. Bug: 356425337 Test: $ source build/envsetup.sh $ lunch [zumapro]-trunk_staging-userdebug $ m $ ./vendor/google/tools/flashall -w Flag: EXEMPT bugfix Change-Id: I6923fdefadf9299df44e2ba550d5af10446e8a20
This commit is contained in:
parent
9930142240
commit
f2e81aefe0
3 changed files with 32 additions and 13 deletions
|
@ -35,7 +35,9 @@ package {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zuma-hw-encrypt",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zuma"],
|
||||
cmd: "sed -e s/@fileencryption@/fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0/" +
|
||||
" -e s/@inlinecrypt@/inlinecrypt/ " +
|
||||
|
@ -44,7 +46,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zumapro-hw-encrypt",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zumapro"],
|
||||
cmd: "sed -e s/@fileencryption@/fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0/" +
|
||||
" -e s/@inlinecrypt@/inlinecrypt/ " +
|
||||
|
@ -53,7 +57,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zuma-sw-encrypt",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zuma"],
|
||||
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts:aes-256-hctr2/" +
|
||||
" -e s/@inlinecrypt@// " +
|
||||
|
@ -62,7 +68,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zumapro-sw-encrypt",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zumapro"],
|
||||
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts:aes-256-hctr2/" +
|
||||
" -e s/@inlinecrypt@// " +
|
||||
|
@ -71,7 +79,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zuma-no-encrypt",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zuma"],
|
||||
cmd: "sed -e s/@fileencryption@//" +
|
||||
" -e s/@inlinecrypt@// " +
|
||||
|
@ -80,7 +90,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zumapro-no-encrypt",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zumapro"],
|
||||
cmd: "sed -e s/@fileencryption@//" +
|
||||
" -e s/@inlinecrypt@// " +
|
||||
|
@ -89,7 +101,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zuma-fips",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zuma-fips"],
|
||||
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts/" +
|
||||
" -e s/@inlinecrypt@/inlinecrypt/ " +
|
||||
|
@ -98,7 +112,9 @@ genrule {
|
|||
|
||||
genrule {
|
||||
name: "gen_fstab.zumapro-fips",
|
||||
srcs: ["fstab.zumapro.in"],
|
||||
srcs: ["fstab.zumapro.common",
|
||||
"fstab.zumapro.f2fs",
|
||||
],
|
||||
out: ["fstab.zumapro-fips"],
|
||||
cmd: "sed -e s/@fileencryption@/fileencryption=aes-256-xts/" +
|
||||
" -e s/@inlinecrypt@/inlinecrypt/ " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue