You are not logged in.

#1 2011-07-28 08:12:09

v43
Member
Registered: 2011-02-03
Posts: 140

uresume hook deprecated?

while building the init image the last time with mkinitcpio -p, i got this alert:


==> WARNING: Hook 'uresume' uses a deprecated 'install' function. This should be renamed 'build'

Last edited by v43 (2011-07-28 08:12:36)

Offline

#2 2011-07-28 08:49:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: uresume hook deprecated?

IMO that is a very clear and informative warning, but to clarify - mkinitcpio has been updated recently, and one if the changes is that the 'install' function used in its hooks has been renamed to 'build'. The uresume hook is not provided by the arch devs, so you have the choice of either changing it yourself, or asking the maintainer of the package that provided it to change it for you.

Offline

#3 2011-08-03 14:36:51

kailden
Member
Registered: 2007-08-28
Posts: 2

Re: uresume hook deprecated?

tomk wrote:

... one if the changes is that the 'install' function used in its hooks has been renamed to 'build'. The uresume hook is not provided by the arch devs, so you have the choice of either changing it yourself, or asking the maintainer of the package that provided it to change it for you.

Is the place to change this /lib/initcpio/install/uresume?  It appears when I edit that file and change 'install' to 'build' for the first function name, it removes the error.

Offline

#4 2011-08-03 15:46:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: uresume hook deprecated?

kailden wrote:

It appears when I edit that file and change 'install' to 'build' for the first function name, it removes the error.

Bingo!

Offline

Board footer

Powered by FluxBB