diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-10-18 17:38:32 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-10-18 10:10:36 -0700 |
commit | daca4c746927c0179ec63c0ac98daeb71281ed69 (patch) | |
tree | 7dbebea0931a6ba585f6877cc90cb19607c0cdb3 /meta/recipes-extended | |
parent | 644e54fef907172487f860b09ad1faf4b6db9e11 (diff) | |
download | poky-daca4c746927c0179ec63c0ac98daeb71281ed69.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/sed/sed_4.1.2.bb | 3 | ||||
-rw-r--r-- | meta/recipes-extended/sed/sed_4.2.1.bb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb index e243f3e25f..80d4b034f9 100644 --- a/meta/recipes-extended/sed/sed_4.1.2.bb +++ b/meta/recipes-extended/sed/sed_4.1.2.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPLv2+" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
5 | file://sed/sed.h;beginline=1;endline=17;md5=e00ffd1837f298439a214fd197f6a407" | 5 | file://sed/sed.h;beginline=1;endline=17;md5=e00ffd1837f298439a214fd197f6a407" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | PR = "r4" | 7 | PR = "r5" |
8 | 8 | ||
9 | DEPENDS = "gettext" | 9 | DEPENDS = "gettext" |
10 | 10 | ||
@@ -21,6 +21,7 @@ do_install () { | |||
21 | 21 | ||
22 | ALTERNATIVE_NAME = "sed" | 22 | ALTERNATIVE_NAME = "sed" |
23 | ALTERNATIVE_PATH = "sed.${PN}" | 23 | ALTERNATIVE_PATH = "sed.${PN}" |
24 | ALTERNATIVE_LINK = "${base_bindir}/sed" | ||
24 | ALTERNATIVE_PRIORITY = "100" | 25 | ALTERNATIVE_PRIORITY = "100" |
25 | 26 | ||
26 | BBCLASSEXTEND = "native" | 27 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb index 5147b0d12e..734b1e0fcd 100644 --- a/meta/recipes-extended/sed/sed_4.2.1.bb +++ b/meta/recipes-extended/sed/sed_4.2.1.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPLv3+" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ |
5 | file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f" | 5 | file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | PR = "r0" | 7 | PR = "r1" |
8 | 8 | ||
9 | DEPENDS = "gettext" | 9 | DEPENDS = "gettext" |
10 | 10 | ||
@@ -20,6 +20,7 @@ do_install () { | |||
20 | 20 | ||
21 | ALTERNATIVE_NAME = "sed" | 21 | ALTERNATIVE_NAME = "sed" |
22 | ALTERNATIVE_PATH = "sed.${PN}" | 22 | ALTERNATIVE_PATH = "sed.${PN}" |
23 | ALTERNATIVE_LINK = "${base_bindir}/sed" | ||
23 | ALTERNATIVE_PRIORITY = "100" | 24 | ALTERNATIVE_PRIORITY = "100" |
24 | 25 | ||
25 | BBCLASSEXTEND = "native" | 26 | BBCLASSEXTEND = "native" |