Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to make new apk packages available #16

Closed
sppmasterspp opened this issue Nov 19, 2024 · 11 comments
Closed

Request to make new apk packages available #16

sppmasterspp opened this issue Nov 19, 2024 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@sppmasterspp
Copy link

With this commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=40b8fbaa9754c86480eefc3692c9116a51a64718
apk was set as default package manager for OpenWrt main snapshot builds.
We need new apk packages to replace the old ipk ones.

@muink muink added the enhancement New feature or request label Nov 20, 2024
@muink muink self-assigned this Nov 20, 2024
@muink
Copy link
Collaborator

muink commented Nov 20, 2024

Duplicate with #15
apk support will be provided in the 24.10 branch. The feature is still under development, please be patient.

@sppmasterspp
Copy link
Author

apk support will be provided in the 24.10 branch. The feature is still under development, please be patient.

OK. Thank you.

@muink
Copy link
Collaborator

muink commented Dec 6, 2024

apk now provided in SNAPSHOT.
CC @aliakin85 @sppmasterspp

@sppmasterspp
Copy link
Author

sppmasterspp commented Dec 6, 2024

apk now provided in SNAPSHOT.

Thanks a lot!
Any short "How to" so we can add APK repository, needed keys, etc. to the OpenWrt devices.
Like this one for example.

echo 'https://apk.openwrt.melmac.net/packages.adb' > /etc/apk/repositories.d/apk.openwrt.melmac.net.list
wget https://apk.openwrt.melmac.net/apk.openwrt.melmac.net.pem -O /etc/apk/keys/apk.openwrt.melmac.net.pem
apk update

Otherwise apk --allow-untrusted add would be necessary.

@muink muink pinned this issue Dec 6, 2024
@muink
Copy link
Collaborator

muink commented Dec 6, 2024

You just need to install fantastic-keyring and fantastic-packages-feeds
But fantastic-packages-feeds currently does not support apk.
You need to manually add the following to /etc/apk/repositories.d/customfeeds.list

https://fantastic-packages.github.io/packages/releases/SNAPSHOT/packages/x86_64/luci/packages.adb
https://fantastic-packages.github.io/packages/releases/SNAPSHOT/packages/x86_64/packages/packages.adb
https://fantastic-packages.github.io/packages/releases/SNAPSHOT/packages/x86_64/special/packages.adb

x86_64 needs to be replaced with the architecture of your device.

@aliakin85
Copy link

aliakin85 commented Dec 6, 2024 via email

@sppmasterspp
Copy link
Author

sppmasterspp commented Dec 9, 2024

You just need to install fantastic-keyring and fantastic-packages-feeds
But fantastic-packages-feeds currently does not support apk.
You need to manually add the following to /etc/apk/repositories.d/customfeeds.list

I did this but unfortunately it gives an error - UNTRUSTED signature.

fetch https://fantastic-packages.github.io/packages/releases/SNAPSHOT/packages/aarch64_cortex-a53/luci/packages.adb
WARNING: updating and opening https://fantastic-packages.github.io/packages/releases/SNAPSHOT/packages/aarch64_cortex-a53/luci/packages.adb: UNTRUSTED signature

As a result packages are not found and cannot be added.
So without a .PEM key I guess it's not going to work.
One can still use apk --allow-untrusted add from terminal but that is not so convenient for most of the people.

@sppmasterspp sppmasterspp reopened this Dec 9, 2024
@muink
Copy link
Collaborator

muink commented Dec 10, 2024

So you need to install fantastic-keyring manually, which contains the necessary pem key.

@muink
Copy link
Collaborator

muink commented Dec 10, 2024

In addition if you are installing the key manually, 20241123170031.pub will be what you need.
https://fantastic-packages.github.io/packages/releases/SNAPSHOT/

@sppmasterspp
Copy link
Author

sppmasterspp commented Dec 10, 2024

So you need to install fantastic-keyring manually, which contains the necessary pem key.

I installed it manually and the feeds were there but they disappeared after firmware update. Should I do this after every firmware update?

@muink
Copy link
Collaborator

muink commented Dec 11, 2024

@sppmasterspp yes

@muink muink closed this as completed Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants