diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-01-06 14:09:21 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-01-06 14:09:21 +0000 |
commit | 2626ed8f4cc82c04ce6fe4df06a4c1af3e98c90e (patch) | |
tree | e9a0ca14130226d6b945cad35af9ee485a2cca0e | |
parent | 7b36ca3677272ad5542922f1f72f2ae4f4c5584e (diff) | |
parent | 2c10ddf068dae9ac33b6113750b897c356a68328 (diff) |
merge of '593778913ba3e113c3ec3a0094f50316f2907536'
and 'c048c58db6ff738c605eaf3189b12cc54cf25756'
-rw-r--r-- | classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 13381740a1..9c7ff8a207 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -163,11 +163,11 @@ kernel_do_configure() { } pkg_postinst_kernel () { - update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} ${KERNEL_PRIORITY} || true + cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} ${KERNEL_PRIORITY} || true } pkg_postrm_kernel () { - update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} || true + cd /${KERNEL_IMAGEDEST}; update-alternatives --remove ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} || true } inherit cml1 |