summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-03-18 23:15:01 -0600
committerTimo Teräs <timo.teras@iki.fi>2021-04-11 14:26:17 +0300
commit1096e3ce154e0a702ca7fdec783452b96b79d78c (patch)
tree3cb9796275b0dc104b0b2c575d118dcec1e0a0da /test
parentb92e509fedfd30d88ab5435dc42c29112b166d1b (diff)
downloadapk-tools-1096e3ce154e0a702ca7fdec783452b96b79d78c.tar.gz
apk-tools-1096e3ce154e0a702ca7fdec783452b96b79d78c.tar.bz2
apk-tools-1096e3ce154e0a702ca7fdec783452b96b79d78c.tar.xz
apk-tools-1096e3ce154e0a702ca7fdec783452b96b79d78c.zip
database: do not chroot(".") unless actually necessary
If we use default root (/), then we do not have to chroot to run scripts. Use APK_NO_CHROOT flag for this scenario to avoid the chroot. This helps with using apk with bwrap and OSTree. Closes #10736. [TT: backported to 2.12-stable] (cherry picked from commit 73504fb7ab2bb659660dae7e1cafab0cfedeb13d)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions