From: Phil Blundell <pb@pbcl.net>
To: celston@katalix.com
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] Add support for BAD_RECOMMENDATIONS to rootfs_ipk
Date: Mon, 11 Jul 2011 10:00:18 +0100 [thread overview]
Message-ID: <1310374822.6337.150.camel@phil-desktop> (raw)
In-Reply-To: <1310374426.10512.3.camel@desktop.home>
On Mon, 2011-07-11 at 09:53 +0100, Chris Elston wrote:
> + STATUS=${IMAGE_ROOTFS}${opkglibdir}/status
> + mkdir -p `dirname ${STATUS}`
Not that it's a massive deal, but this call to "dirname" is redundant
since dirname ${STATUS} is ${IMAGE_ROOTFS}${opkglibdir} by definition.
> + # prime the status file with bits that we don't want
> + for i in ${BAD_RECOMMENDATIONS}; do
> + infln="`opkg-cl ${IPKG_ARGS} info $i | grep -e
> '^Package:' -e '^Architecture:' -e '^Version:'`"
> + if [ ! -z "$infln" ]; then
> + echo "$infln" >> $STATUS
Reading this again I wonder what would happen if one of the packages
named in BAD_RECOMMENDATIONS doesn't actually exist. Can you verify
that this code does something sensible in that case?
p.
next prev parent reply other threads:[~2011-07-11 9:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 11:10 [PATCH] Add support for BAD_RECOMMENDATIONS to rootfs_ipk Chris Elston
2011-06-30 23:13 ` Saul Wold
2011-07-01 9:06 ` Chris Elston
2011-07-01 9:20 ` Phil Blundell
2011-07-06 22:25 ` Saul Wold
2011-07-11 8:53 ` Chris Elston
2011-07-11 9:00 ` Phil Blundell [this message]
2011-07-11 12:14 ` Chris Elston
2011-07-12 14:02 ` Richard Purdie
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=1310374822.6337.150.camel@phil-desktop \
--to=pb@pbcl.net \
--cc=celston@katalix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.