-
-
Save pa-0/db3ce0456e67f992de2fe3b6523650cc to your computer and use it in GitHub Desktop.
How to Remove a Dependency in QNAP Package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Resources | |
# Sample package: https://www.myqnap.org/product/radarr-qbase24/ | |
# Create a simple package: https://cheng-yuan-hong.gitbook.io/qdk-qpkg-development-kit/creating-a-qpkg-package-using-qdk/creating-a-simple-qpkg-package | |
# QNAP SDK docs: https://edhongcy.gitbooks.io/qdk-qpkg-development-kit/content/ | |
# You will need the QNAP SDK, https://github.com/qnap-dev/QDK | |
# Download the package and put it on your NAS | |
# SSH into the nas and go to the directory where the package is located | |
# Create the QNAP build evnironment | |
``` | |
qbuild --create-env Radarr | |
``` | |
# Extract the package | |
``` | |
qbuild --extract ./RadarrDotNetQ_5.10.3.917_x86_64.qpkg ./Radarr | |
``` | |
# Go to the package directory | |
``` | |
cd Radarr | |
``` | |
# Edit the qpkg.cfg file (nano, vi, vim, etc) | |
``` | |
nano qpkg.cfg | |
``` | |
# Find ```QPKG_REQUIRE``` | |
``` | |
# Specifies any packages required for the current package to operate. | |
QPKG_REQUIRE="QBase24" | |
``` | |
# Remove the requirement and save the file | |
``` | |
QPKG_REQUIRE="" | |
``` | |
# Build the QPKG | |
``` | |
qbuild --build-dir ./build | |
``` | |
# Your package is inside the ./build directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment