Re: Fwd: Heads-up: RPM 4.16 alpha coming to rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, March 31, 2020 8:42:37 AM CEST Panu Matilainen wrote:
> Last but certainly not least, please do test the database stuff! We will 
> not be changing the default until several weeks from now (for 
> stabilization and coordination with infrastructure/rel-eng efforts), but 
> you can and should test locally:
> 
> # echo '%_db_backend sqlite' > /etc/rpm/macros.db
> # rpmdb --rebuilddb

I'm trying to test this with mock (2.2 from updates-testing).  Note that
mock puts macros below $HOME/.rpmmacros (if that matters):

  $ cat test.cfg
  include('fedora-rawhide-x86_64.cfg')
  config_opts['root'] = 'fedora-SQLiteRawhide-x86_64'
  config_opts['macros']['%_db_backend'] = 'sqlite'

  $ mock -r ./test.cfg --rebuild ~/rh/packages/postgresql/fedora/postgresql-12.2-2.fc33.src.rpm
  ...

And it seems to work, as I see files like:

  $ ls -1 /var/lib/mock/fedora-SQLiteRawhide-x86_64*/root/var/lib/rpm/*sqlite*
  /var/lib/mock/fedora-SQLiteRawhide-x86_64/root/var/lib/rpm/rpmdb.sqlite
  /var/lib/mock/fedora-SQLiteRawhide-x86_64/root/var/lib/rpm/rpmdb.sqlite-shm
  /var/lib/mock/fedora-SQLiteRawhide-x86_64/root/var/lib/rpm/rpmdb.sqlite-wal

Can we consider this to be working (from mock POV)?

Don't you have the RPM package built somewhere that has the SQLite DB
backend enabled by default so I could test?

Pavel


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux