You are not logged in.
Pages: 1
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
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
... 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
It appears when I edit that file and change 'install' to 'build' for the first function name, it removes the error.
Bingo!
Offline
Pages: 1