Include blkid and fsck.erofs in deapexer call
BUG: b/255963179, b/240288941 Change-Id: I2426b2eea9fe7126fdf7a9bb46dbc308ae9d84c5
This commit is contained in:
parent
20696d9790
commit
28c7944e5b
|
@ -123,6 +123,8 @@ sh_test_host {
|
|||
// deapexer
|
||||
"deapexer",
|
||||
"debugfs_static",
|
||||
"blkid",
|
||||
"fsck.erofs",
|
||||
|
||||
// sign_virt_apex
|
||||
"avbtool",
|
||||
|
|
|
@ -23,8 +23,11 @@ TEST_DIR=$(dirname $0)
|
|||
# To access host tools
|
||||
PATH=$TEST_DIR:$PATH
|
||||
DEBUGFS=$TEST_DIR/debugfs_static
|
||||
BLKID=$TEST_DIR/blkid
|
||||
FSCKEROFS=$TEST_DIR/fsck.erofs
|
||||
|
||||
deapexer --debugfs_path $DEBUGFS extract $TEST_DIR/com.android.virt.apex $TMP_ROOT
|
||||
deapexer --debugfs_path $DEBUGFS --blkid_path $BLKID --fsckerofs_path $FSCKEROFS \
|
||||
extract $TEST_DIR/com.android.virt.apex $TMP_ROOT
|
||||
|
||||
if [ "$(ls -A $TMP_ROOT/etc/fs/)" ]; then
|
||||
sign_virt_apex $TEST_DIR/test.com.android.virt.pem $TMP_ROOT
|
||||
|
|
Loading…
Reference in New Issue