From 4ea384f02baf2098b7ca9db4b5ee84755541e11c Mon Sep 17 00:00:00 2001 From: Wesley Gimenes Date: Fri, 13 Sep 2024 20:25:32 -0300 Subject: [PATCH] CONTRIBUTING.md: remove incorrect info about `PKG_VERSION` The documentation stated that `PKG_VERSION` is the OpenWrt version and therefore includes the `PKG_RELEASE`, but this statement was incorrect and has been removed to avoid confusion. Signed-off-by: Wesley Gimenes --- CONTRIBUTING.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4bf5626c4f..4c0d0d4b08 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -200,9 +200,7 @@ created packages and runs a script called `test.sh` located next to the package Makefile. The script is executed with the two arguments `PKG_NAME` and `PKG_VERSION`. The `PKG_NAME` can be used to distinguish package variants, e.g. `foobar` vs. `foobar-full`. The `PKG_VERSION` can be used for a trivial test -checking if `foobar --version` prints the correct version. `PKG_VERSION` is the -OpenWrt version and therefore includes the `PKG_RELEASE`, which isn't usually -part of the running programs version. +checking if `foobar --version` prints the correct version. The following snippet shows a script that tests different binaries depending on what IPK package was installed. The `gpsd` Makefile produces both a `gpsd` and -- 2.30.2