]> code.ossystems Code Review - openembedded-core.git/commit
sed: use ALTERNATIVE_LINK
authorKevin Tian <kevin.tian@intel.com>
Mon, 18 Oct 2010 09:38:32 +0000 (17:38 +0800)
committerSaul Wold <Saul.Wold@intel.com>
Mon, 18 Oct 2010 17:10:36 +0000 (10:10 -0700)
commitdaca4c746927c0179ec63c0ac98daeb71281ed69
tree7dbebea0931a6ba585f6877cc90cb19607c0cdb3
parent644e54fef907172487f860b09ad1faf4b6db9e11
sed: use ALTERNATIVE_LINK

update-alternatives.bbclass assumes /usr/bin/sed if ALTERNATIVE_LINK is not
specified, however sed has changed its default installation directory to
/bin/sed. This causes below errors at the first boot of lsb image:

update-alternatives: Error: cannot register alternative sed to /usr/bin/sed
since it is already registered to /bin/sed

This fixes [BUGID #478]

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
meta/recipes-extended/sed/sed_4.1.2.bb
meta/recipes-extended/sed/sed_4.2.1.bb