[FS#3849] opkg: Feature request: Add possibility to read packages from a file instead from the command line.
openwrt-bugs at lists.openwrt.org
Thu Jun 3 14:17:14 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Drei Eck (dreieck)
Attached to Project - OpenWrt/LEDE Project
Summary - opkg: Feature request: Add possibility to read packages from a file instead from the command line.
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - I suggest to enhance `opkg` so that with a command line option it can read the list of packages to operate on (e.g. install, remove) from a file or from standard input rather than from the command line.
This would enable the build system to be re-written so that the build of images with a lot amount of packages compiled in succeeds. Now it bails out with `/usr/bin/env: Argument list too long`, since at one point all the packages are to be installed at once (and this cannot be split up to enable proper dependency handling), which will inevitably fail for a lot of packages (even with high stack size set with `ulimit`) due to a too long command line.
There are several reports of this in the forum; I refer to [[https://forum.openwrt.org/t/96942|this thread "`/usr/bin/env: Argument list too long`-error persisting – OpenWRT 21.02.0-rc1 package installation creates a huge command line although far far from most packages selected"]], where a case is reported of a 210800 characters long command and ideas to change the build system.
More information can be found at the following URL:
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs