cm: Put install tools in OUT/install
* This allows us to avoid modifying /system at install time. Change-Id: I747551d7f38a3eef70ab64f32b6d4a4749c01012
This commit is contained in:
parent
ba52ed6d42
commit
65aff66ecb
@ -81,15 +81,15 @@ PRODUCT_COPY_FILES += \
|
||||
# Backup Tool
|
||||
ifneq ($(WITH_GMS),true)
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
|
||||
vendor/cm/prebuilt/common/bin/backuptool.functions:system/bin/backuptool.functions \
|
||||
vendor/cm/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
||||
vendor/cm/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
||||
vendor/cm/prebuilt/common/bin/50-cm.sh:system/addon.d/50-cm.sh \
|
||||
vendor/cm/prebuilt/common/bin/blacklist:system/addon.d/blacklist
|
||||
endif
|
||||
|
||||
# Signature compatibility validation
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/cm/prebuilt/common/bin/otasigcheck.sh:system/bin/otasigcheck.sh
|
||||
vendor/cm/prebuilt/common/bin/otasigcheck.sh:install/bin/otasigcheck.sh
|
||||
|
||||
# init.d support
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -7,6 +7,9 @@ export C=/tmp/backupdir
|
||||
export S=/system
|
||||
export V=12
|
||||
|
||||
# Scripts in /system/addon.d expect to find backuptool.functions in /tmp
|
||||
cp -f /tmp/install/bin/backuptool.functions /tmp
|
||||
|
||||
# Preserve /system/addon.d in /tmp/addon.d
|
||||
preserve_addon_d() {
|
||||
mkdir -p /tmp/addon.d/
|
||||
|
Loading…
Reference in New Issue
Block a user