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

Re: Run for a new kernel install



On Fri, 3 Dec 2004, Matt Domsch wrote:

> How about putting your script fragment above into /sbin/new-kernel-pkg?

/sbin/new-kernel-pkg is run in %post. I don't know that much about the
rpm database locking, but if the custom script wants to install 
another package (through rpm/yum/etc.) and in %post the database is 
still locked, the script will fail. OTOH, the documentation that I 
found on triggers doesn't specify anything about database locking, so 
it might be that this is also not possible...

-- 
Bogdan Costescu

IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan Costescu IWR Uni-Heidelberg De


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