diff options
author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2015-09-01 09:17:53 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:14 +0100 |
commit | d6b1171131656907d6bdbb9ce3115c444f06817e (patch) | |
tree | d9764b40ac128da99f79c2e45cfd7c370f5179e2 /meta/recipes-devtools/installer | |
parent | ab50b1d11c28394b20b49242cc3481582a055bc8 (diff) | |
download | poky-d6b1171131656907d6bdbb9ce3115c444f06817e.tar.gz |
opkg: upgrade to v0.3.0
Changes required:
- Rename opkg-cl to opkg
- Add libarchive dependency
- Drop backport patches
- Drop obsolete directory options
- Add patch to handle empty index files
Based on initial work by Paul Barker.
(From OE-Core rev: 1dd2a9ea54f5a5497e23814f144f35ff15430d71)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
CC: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/adt_installer | 2 | ||||
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index 24db247910..3172de7bca 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer | |||
@@ -156,7 +156,7 @@ validate_config() | |||
156 | #this installed local opkg | 156 | #this installed local opkg |
157 | install_opkg() | 157 | install_opkg() |
158 | { | 158 | { |
159 | if [ ! -x "$LOCAL_OPKG_LOC/bin/opkg-cl" ]; then | 159 | if [ ! -x "$LOCAL_OPKG_LOC/bin/opkg" ]; then |
160 | echo_info "OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...\n" | 160 | echo_info "OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...\n" |
161 | 161 | ||
162 | if [ -d $LOCAL_OPKG_LOC ]; then | 162 | if [ -d $LOCAL_OPKG_LOC ]; then |
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index 2a8a30ccdc..6f5fb49990 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
@@ -124,9 +124,9 @@ fi | |||
124 | 124 | ||
125 | #first update repository | 125 | #first update repository |
126 | if [ "x$SUDO" = "x" ]; then | 126 | if [ "x$SUDO" = "x" ]; then |
127 | OPKG_CMD="$LOCAL_OPKG_LOC/bin/opkg-cl" | 127 | OPKG_CMD="$LOCAL_OPKG_LOC/bin/opkg" |
128 | else | 128 | else |
129 | OPKG_CMD="sudo -E $LOCAL_OPKG_LOC/bin/opkg-cl" | 129 | OPKG_CMD="sudo -E $LOCAL_OPKG_LOC/bin/opkg" |
130 | fi | 130 | fi |
131 | 131 | ||
132 | echo_info "Updating opkg..." | 132 | echo_info "Updating opkg..." |