summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 02:55:34 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 02:55:34 (EDT)
commit064e7542797fe684c461e88be9577d04109671c0 (patch)
tree1a4b415663369677d102ce07d2cf3d749ebd8ccb
parent20bbf0ea606914a69d17d07a2051e0902a27646e (diff)
opkg: Provide opkg-cl, not opkg
-rwxr-xr-xbuild6
-rw-r--r--opkg.pkg/files2
2 files changed, 3 insertions, 5 deletions
diff --git a/build b/build
index 3b87522..5aee34c 100755
--- a/build
+++ b/build
@@ -28,10 +28,9 @@ build-opkg-gpg:
build: build-opkg build-opkg-gpg
install: build
- oh-autoinstall -B obj-opkg
- mv dest/usr/bin/opkg-cl dest/usr/bin/opkg
oh-autoinstall -B obj-opkg-gpg
- mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-gpg # Will be renamed later
+ mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-gpg
+ oh-autoinstall -B obj-opkg
rm -Rf dest/usr/include/ \
dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ \
dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.a \
@@ -40,4 +39,3 @@ install: build
oh-fixperms
oh-strip -k
oh-installfiles
- mv opkg-gpg.data/usr/bin/opkg-gpg opkg-gpg.data/usr/bin/opkg # See above
diff --git a/opkg.pkg/files b/opkg.pkg/files
index 5326c42..7b076bd 100644
--- a/opkg.pkg/files
+++ b/opkg.pkg/files
@@ -1 +1 @@
-/usr/bin/opkg
+/usr/bin/opkg-cl