watchcat: emits a warning message during postinst
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 64/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- linux, shell
- Domain
- build-system, devops
Research direction
The issue identifies the watchcat init script and the missing /lib/functions/watchcat.sh path. Read that script and check how it sources the file during off-device image builds; the issue proposes prefixing the path with ${IPKG_ROOT}. Build an image with watchcat in PACKAGES and confirm the warning no longer appears.
Written by the indexing model from the issue text.
Description
Package Name
watchcat
Maintainer
@danielfdickinson @dhrm1k
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
x86/64
Steps to Reproduce
- Download ImageBuilder
- When building the image with
make image, includewatchcatin the thePACKAGESlist
Actual Behaviour
emits
./etc/init.d/watchcat: line 13: /lib/functions/watchcat.sh: No such file or directory
Enabling watchcat
Cause and solution
In the initscript the sourcing of /lib/functions/watchcat.sh is attempted while enabling watchcat even when done off-device (e.g. using ImageBuilder or the OpenWrt buildroot).
Needs ${IPKG_ROOT} added in front of /lib/functions/watchcat.sh.
Creating this issue as a placeholder to remind me to work on (it is somewhat cosmetic, so not a rush).
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
- Dominant language
- Makefile
- Stars
- 4.7k
- Forks
- 4.1k
- Avg merge
- 3d 40m
- Merged PRs (30d)
- 269
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwrt/packages
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
openwrt/packages#31511 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
openwrt/packages#31407 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openwrt/packages#31373 · 8 comments ·
Maintainers usually reply within 1 day
-
release/25.12
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
ser2net: support 'host' option in ser2net_proxy() to allow binding to a specific IP (e.g. 127.0.0.1)Openbug release/25.12
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
All issues in openwrt/packages
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
nervosnetwork/ckb#5411 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
LittleTealeaf/iced-tea#42 ·
-
sweep
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bketelsen/truenas-mcp#110 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
elliotchance/vsql#2079 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Trac-Systems/main_settlement_bus#923 ·
Maintainers usually reply within 1 day