summaryrefslogtreecommitdiff
path: root/apexer/apexer.py
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2019-02-26 18:47:44 +0000
committerNikita Ioffe <ioffe@google.com>2019-02-27 10:30:19 +0000
commit6994eff232e047dd5bcd64f13c387334e57f76f7 (patch)
treea35c78547093d825cf702ad1aa7857a043083910 /apexer/apexer.py
parent31dc34d5523d925da6f00d95e41f895b5d9e778d (diff)
apexd: skip staging package if it is already in /data/apex/active
This should prevent following (very unlikely) situation: 1. New staged session is created containing following apexes: foo@1.apex, bar@2.apex. 2. foo@1.apex is already activated (i.e. /data/apex/active/foo@1.apex exists). 3. stagePackages() fails to link bar@2.apex. 4. Deleter removes /data/apex/active/foo@1.apex 5. Apexd ends up deactivating a package it should've kept. Test: apexservice_test Change-Id: Id859d1bbc74664ca3d36bc2a72e829bc2ffff701
Diffstat (limited to 'apexer/apexer.py')
0 files changed, 0 insertions, 0 deletions