Testing packages with mock and Xnest?

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

 



I've occasionally wanted to test a packages built for another release
of Fedora and didn't really care to setup a bare metal or VM to do it.

I've found I can use mock (or probably any other chroot
program/helper) and Xnest to do this.

Is there any interest in putting this in the Fedora wiki somewhere? Am
I late to the party and everyone already knows how to do this?

Short example:
$ mock -r fedora-rawhide-x86_64 --init
$ mock -r fedora-rawhide-x86_64 --install xclock
$ Xnest :1 -ac &
$ mock -r fedora-rawhide-x86_64 --shell
[mock] $ xclock -display :1

Wah-lah!

I also sometimes do this (without the Xnest part) for new library
packages in order to run rpmlint against the installed package. This
catches things like "undefined-non-weak-symbols" or something like
that and a few others that it can't catch from the package alone.

Thanks,
Richard
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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