1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 20:33:58 +02:00
Go to file
Eneas U de Queiroz 1e18c4324f
perl: perlmod.mk: use flock when hostpkg/perl used
Avoid parallel relinking and usage of the host perl binary by wrapping
its usage around flock calls.

Sometimes, two packages will try to relink the static host perl binary
at the same time.  Neither of them will have the other's module linked
in, and one of them will unavoidably clobber the other one's binary.

This will lead to errors when a package will not be able to find a
module that was supposed to be installed.

To fix that, an exclusive flock is used when relinking, with a 900
seconds timeout to avoid locking up the build process forever.

This is not enough because the binary may be concurrently used to build
another module package; perl is used in Configure, Compile, and Install
procedures.  If timing is right, a package will fail with a "permission
denied" error.

So a shared flock call is added in Configure, Compile, and Install
definitions for host and target, with a shorter, 300 seconds timeout.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-08-17 12:03:34 -03:00
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github CI: revert adding of *depending* packages 2021-03-25 23:28:52 -10:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin sudo: bump to version 1.9.7p2 2021-08-09 11:10:44 +03:00
devel Merge pull request #16078 from ja-pa/fix-email 2021-07-29 12:37:06 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 generate-ipv6-address: fix PIC compilation 2021-04-20 20:10:56 +02:00
kernel Revert "ksmbd: update to 3.4.0" 2021-08-08 19:27:43 -07:00
lang perl: perlmod.mk: use flock when hostpkg/perl used 2021-08-17 12:03:34 -03:00
libs postgresql: update to version 13.4 2021-08-16 14:34:51 +01:00
mail exim: some clean ups 2021-08-13 04:51:38 +01:00
multimedia Merge pull request #15945 from neheb/tv 2021-07-11 00:18:38 -07:00
net kea: add kea-uci package with basic init script 2021-08-16 20:41:51 +03:00
sound Merge pull request #16180 from neheb/Al 2021-07-29 12:40:34 -07:00
utils Merge pull request #16376 from neheb/wat 2021-08-16 09:44:21 -07:00
CONTRIBUTING.md CONTRIBUTING: add CI information 2020-09-30 10:47:12 -10:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.