summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-19 11:33:42 +0100
committerRemi Collet <remi@php.net>2024-12-19 11:33:42 +0100
commit571e91a150b12569676fe4db55bbd94d1f9a673c (patch)
treec1433a6e03e736f0cff725361e4d6946b39ec95b /README.md
parent5f8816e2d1eb233f505f6e34a770230b4dc22167 (diff)
close DB with macro change (can affect dbpath)
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index 65f4319..40123a6 100644
--- a/README.md
+++ b/README.md
@@ -221,15 +221,13 @@ For example, can be used to set the Database path and backend
$ mock -r almalinux-8-x86_64 init
...
+ $ mock -r fedora-41-x86_64 ini
+ ...
$ php -a
php > rpmdefine("_dbpath /var/lib/mock/almalinux-8-x86_64/root/var/lib/rpm");
php > rpmdefine("_db_backend bdb_ro");
php > var_dump(rpmdbinfo("almalinux-release")[0]["Summary"]);
string(22) "AlmaLinux release file"
-
- $ mock -r fedora-41-x86_64 ini
- ...
- $ php -a
php > rpmdefine("_dbpath /var/lib/mock/fedora-41-x86_64/root/usr/lib/sysimage/rpm");
php > rpmdefine("_db_backend sqlite");
php > var_dump(rpmdbinfo("fedora-release")[0]["Summary"]);