[opensuse-factory] How to test updated package version during installation?
How to test fix in a package if bug happens during initial installation? I.e. - how to make installer use updated package version? I do not see how to do it with DUD. I can run scripts before/after installation, but in this case it is too late because bug happens during package installation itself (when post is run). Solution would be to use multiple repositories but I do not see how I can do it. Also I am not sure installer would use local package repository with unknown signature. Any idea? TIA P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed. And I cannot test fix after installation because it happens only during install. -andrey -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday 2013-01-16 07:49, Andrey Borzenkov wrote:
P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed.
Like this? Requires(post): os-prober >= $particular_fixed_version -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Jan 16, 2013 at 1:18 PM, Jan Engelhardt
On Wednesday 2013-01-16 07:49, Andrey Borzenkov wrote:
P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed.
Like this? Requires(post): os-prober >= $particular_fixed_version
And where this version will be fetched from during installation? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday 2013-01-16 11:22, Andrey Borzenkov wrote:
On Wed, Jan 16, 2013 at 1:18 PM, Jan Engelhardt
wrote: On Wednesday 2013-01-16 07:49, Andrey Borzenkov wrote:
P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed.
Like this? Requires(post): os-prober >= $particular_fixed_version
And where this version will be fetched from during installation?
Whereever you have pointed zypp to. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Jan 16, 2013 at 4:29 PM, Jan Engelhardt
On Wednesday 2013-01-16 11:22, Andrey Borzenkov wrote:
On Wed, Jan 16, 2013 at 1:18 PM, Jan Engelhardt
wrote: On Wednesday 2013-01-16 07:49, Andrey Borzenkov wrote:
P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed.
Like this? Requires(post): os-prober >= $particular_fixed_version
And where this version will be fetched from during installation?
Whereever you have pointed zypp to.
You misunderstand. The issue happens during system installation. I boot NET iso, point to repo and begin installation. During installation of grub2 it aborts. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday 2013-01-16 13:33, Andrey Borzenkov wrote:
On Wed, Jan 16, 2013 at 4:29 PM, Jan Engelhardt
wrote: On Wednesday 2013-01-16 11:22, Andrey Borzenkov wrote:
On Wed, Jan 16, 2013 at 1:18 PM, Jan Engelhardt
wrote: On Wednesday 2013-01-16 07:49, Andrey Borzenkov wrote:
P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed.
Like this? Requires(post): os-prober >= $particular_fixed_version
And where this version will be fetched from during installation?
Whereever you have pointed zypp to.
You misunderstand. The issue happens during system installation. I boot NET iso, point to repo and begin installation. During installation of grub2 it aborts.
Hrm. In that case, getting a fixed grub2 into factory would seem prudent. Alternatively, you can clone the factory download tree (/factory/repo/oss) to a location of your own and update it with fixed rpms, and then point the NET installer using the install=http://.. boot parameter to your own location where the fix is. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Andrey,
2013/1/16 Andrey Borzenkov
How to test fix in a package if bug happens during initial installation? I.e. - how to make installer use updated package version?
I do not see how to do it with DUD. I can run scripts before/after installation, but in this case it is too late because bug happens during package installation itself (when post is run).
Solution would be to use multiple repositories but I do not see how I can do it. Also I am not sure installer would use local package repository with unknown signature.
Any idea? TIA
IIRC, DUD can accept rpm package so you could use dud=<url> which
points to your fixing rpm and replace the one in the installation
system.
Please note that it will not update the *installed* package to your
system, if you want to do that you have to create a real dud archive
with format cpio.gz and it's file layout roughly like below ..
./linux/suse/x86_64-12.3/inst-sys/... <update files will overlay the
one used in installation system>
./linux/suse/x86_64-12.2/install/... <update rpm packages will be installed>
./linux/suse/x86_64-12.2/dud.config ...
P.S. in this case I speak about https://bugzilla.novell.com/show_bug.cgi?id=798604. grub2 post triggers bug in os-prober so I need to make updated os-prober available before grub2 is installed.
And I cannot test fix after installation because it happens only during install.
-andrey -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Jan Engelhardt
-
Michael Chang