Repository navigation
imagebuilder: package_whatdepends and package_depends fixes - #17022
Merged
Merged
Conversation
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
robimarko
force-pushed
the
apk-package-depends
branch
from
November 20, 2024 08:49
8f4122f to
52519a5
Compare
Contributor
Author
|
Thanks! Rebased on top of main and merged! |
openwrt-bot
pushed a commit
that referenced
this pull request
Nov 20, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: #17022 Signed-off-by: Robert Marko <[email protected]> (cherry picked from commit 52519a5)
vincejv
pushed a commit
to vincejv/openwrt
that referenced
this pull request
Nov 20, 2024
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
vincejv
pushed a commit
to vincejv/openwrt
that referenced
this pull request
Nov 20, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
vincejv
pushed a commit
to vincejv/openwrt
that referenced
this pull request
Nov 20, 2024
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
vincejv
pushed a commit
to vincejv/openwrt
that referenced
this pull request
Nov 20, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
sendurai
pushed a commit
to sendurai/openwrt
that referenced
this pull request
Nov 21, 2024
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
sendurai
pushed a commit
to sendurai/openwrt
that referenced
this pull request
Nov 21, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
sendurai
added a commit
to sendurai/openwrt
that referenced
this pull request
Nov 21, 2024
Add support for DAP-1620 Revision A hardware. The original firmware has dual image, one primary and another for recovery. This version supports using only single image due to size limitations. Recovery and restore can be done using the U-Boot menu on device startup (serial port) and writing the image using option 2. Full backup of the Nand is recommended before installing in case the original partitions are to be restored in future. Full details will be updated in device wiki page. Signed-off-by: Senthil Durairaj <[email protected]> imagebuilder: fix APK package_depends support Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]> imagebuilder: fix OPKG package_whatdepends support Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]> ramips: mt7620: add support for Dlink DAP-1620-A2 Add support for DAP-1620 Revision A hardware. The original firmware has dual image, one primary and another for recovery. This version supports using only single image due to size limitations. Recovery and restore can be done using the U-Boot menu on device startup (serial port) and writing the image using option 2. Full backup of the Nand is recommended before installing in case the original partitions are to be restored in future. Full details will be updated in device wiki page.
jacksonhansen41
pushed a commit
to jacksonhansen41/openwrt
that referenced
this pull request
Nov 22, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]> (cherry picked from commit 52519a5)
liudf0716
pushed a commit
to liudf0716/openwrt
that referenced
this pull request
Dec 5, 2024
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
Vladdrako
pushed a commit
to Vladdrako/openwrt
that referenced
this pull request
Dec 11, 2024
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
Vladdrako
pushed a commit
to Vladdrako/openwrt
that referenced
this pull request
Dec 11, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
rmandrad
pushed a commit
to rmandrad/openwrt
that referenced
this pull request
Dec 30, 2024
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
rmandrad
pushed a commit
to rmandrad/openwrt
that referenced
this pull request
Dec 30, 2024
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
M3m3M4n
pushed a commit
to M3m3M4n/openwrt
that referenced
this pull request
Feb 16, 2025
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
M3m3M4n
pushed a commit
to M3m3M4n/openwrt
that referenced
this pull request
Feb 16, 2025
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
maurerr
pushed a commit
to maurerr/openwrt
that referenced
this pull request
Apr 9, 2025
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
maurerr
pushed a commit
to maurerr/openwrt
that referenced
this pull request
Apr 9, 2025
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: d788ab3 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
LuisMitaHL
pushed a commit
to LuisMitaHL/LooperWrt
that referenced
this pull request
Sep 21, 2026
Currently trying to use the 'package_depends' feature of ImageBuilder will result in it trying to call OPKG: make package_depends PACKAGE="usbutils" OK: 26 MiB in 142 packages bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory make: *** [Makefile:363: package_depends] Error 127 It looks like a copy/paste error when APK support was being added, so lets fix it by calling APK and its "info --depends" command. Fixes: openwrt#16996 Fixes: 5076f34 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
LuisMitaHL
pushed a commit
to LuisMitaHL/LooperWrt
that referenced
this pull request
Sep 21, 2026
Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG will currently fail as OPKG does not support "list --depends" call at all, it seems that this is a mixup from the original APK support commit. So, lets restore 'package_whatdepends' support for OPKG by calling "whatdepends -A" instead as we used to before APK support. Fixes: 5076f34 ("build: add APK package build capabilities") Link: openwrt#17022 Signed-off-by: Robert Marko <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It seems that
package_whatdependsfor OPKG got broken when APK was being added andpackage_dependsfor APK support never worked, so this PR provides fixes for them.package_whatdependsfor OPKG is broken in 24.10 as well so I plan to backport it there as well.