Bugzilla – Bug 604316
osc - jail re-use errors ...
Last modified: 2011-06-22 09:29:03 UTC
If I have built using one distribution, and try to use another rather different one eg. MeeGo -> openSUSE, or perhaps even as silly as SLED11 -> Factory my osc build amost always fails. Sometimes it does so in some broken way - failing to update base packages in the chroot, sometimes it gets a bit further, but then manually prompts me to cleanup. If we could store the repo name in the jail, and auto-clean the jail if a different repo came along, that would be rather nice :-)
(In reply to comment #0) > Sometimes it does so in some broken way - failing to update base packages in > the chroot, sometimes it gets a bit further, but then manually prompts me to > cleanup. This should only happen if the preceding build was canceled by the user while the build-root was populated. > If we could store the repo name in the jail, and auto-clean the jail if a > different repo came along, that would be rather nice :-) Actually, a different build-root is used for each repo/arch combo. They're stored in /var/tmp/build-root/$REPO-$ARCH by default (see ~/.oscrc) This must have been a bug in the 'build' script, does that still happen for you? Otherwise I'm tempted to close it since this hasn't happened since ages for me at least.