From 8b075bf0a9e81fcc0536eff9aa18313c42915d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Wed, 24 Apr 2024 20:24:57 +0200 Subject: groups.d/dev_packages.group: copy all group variables from native_packages. subr.ex/ex_pkg.subr:ex_pkg_copy_group_vars(): initial implementation. etc/README.md: updated. --- etc/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/README.md b/etc/README.md index 98f1d35b..38206285 100644 --- a/etc/README.md +++ b/etc/README.md @@ -342,7 +342,14 @@ build groups without taking ownership thereof, if ``owner`` is specified, the de group owns all of its packages. If ``noauto`` is specified, the build group will not be added to the list of build groups to build by default, if ``auto`` is specified, the build group will be added to the list of build groups to build by default. - + +If a build group that specifies ``copy`` should copy all of its build group variables from another +build group, use the following code: + +```shell +ex_pkg_copy_group_vars "" ""; +``` + Additionally, single package files may be added beneath ``groups.d/[0-9][0-9][0-9]..d/``, named ``.package`` containing the package's variables, with the following epilogue, the parameters enclosed in square brackets being optional: -- cgit v1.2.3