Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] kernel.bbclass: fix pkg_postinst and pkg_postrm
Date: Tue, 03 Jan 2012 13:17:22 -0800	[thread overview]
Message-ID: <4F037062.5070204@linux.intel.com> (raw)
In-Reply-To: <1324597572-10548-1-git-send-email-andrea.adami@gmail.com>

On 12/22/2011 03:46 PM, Andrea Adami wrote:
> * Symptom: kernel symlink in /boot is not created.
> * Rename in order to create the expected files:
> * /var/lib/opkg/info/kernel-3.1.4.postinst
> * /var/lib/opkg/info/kernel-3.1.4.postrm
>
> Signed-off-by: Andrea Adami<andrea.adami@gmail.com>
> ---
>   meta/classes/kernel.bbclass |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 120a524..ec5d65e 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -223,11 +223,11 @@ do_savedefconfig() {
>   do_savedefconfig[nostamp] = "1"
>   addtask savedefconfig after do_configure
>
> -pkg_postinst_kernel () {
> +pkg_postinst_kernel-base () {
>   	cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
>   }
>
> -pkg_postrm_kernel () {
> +pkg_postrm_kernel-base () {
>   	cd /${KERNEL_IMAGEDEST}; update-alternatives --remove ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} || true
>   }
>
Merged into OE-Core

Thanks
	Sau!



      reply	other threads:[~2012-01-03 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-22 23:46 [PATCH] kernel.bbclass: fix pkg_postinst and pkg_postrm Andrea Adami
2012-01-03 21:17 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F037062.5070204@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox