Go to file
Norbert Lange 3f5fa423f4 package/systemd: register NSS plugins in nsswitch.conf
This supports 4 plugins, each will be added at the right spot if
enabled, based on the template coming with systemd.

The sed replacements are carefully written to be idempotent, and to
be robust enough to be combined with the other available packages
(nss_mdns4) in any installation order.

nss-systemd is used for the DynamicUser features, which is a defacto
necessity for systemd. It handles transient users/groups without
touching the /etc/{passwd,group} files on disk. To support the
'SupplementaryGroups' feature, groups should be merged.

nss-myhostname allows resolving the hostname, again without touching
files in /etc.

nss-mymachines adds name resolution from containers supported by
machined. Users from the containers might end up in system groups, so
groups should be merged.

nss-resolve, part of resolved, is required for consistent dns lookups.
As per the documentation (nss-resolve(8)), DNS queries shall not
continue past the resolve service, unless the service is not available.

We anchor nss_resolve to appear after files, if mymachines is also used,
remove that first (and add it back later). Other packages (mdns4) move
around the dns entry, so replacing that is not a good option.

If mdns4 is installed aswell, then resolved will take precedence for
host lookups.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - exp[lain why 'host: resolve' uses !UNAVAIL=return
  - rewrap commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-07-18 09:39:12 +02:00
arch arch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_10 2020-06-24 21:57:43 +02:00
board configs/imx6ullevk: new defconfig 2020-07-16 09:20:06 +02:00
boot boot/uboot: bump to version 2020.07 2020-07-15 17:24:51 +02:00
configs configs/nitrogen*: bump u-boot revision 2020-07-16 22:24:33 +02:00
docs docs/manual/adding-packages-generic.txt: fix typo 2020-06-06 21:28:31 +02:00
fs fs/cpio: generate reproducible archives 2020-06-29 17:57:12 +02:00
linux legacy: drop options removed more than 5 years ago now 2020-06-22 07:17:05 +02:00
package package/systemd: register NSS plugins in nsswitch.conf 2020-07-18 09:39:12 +02:00
support support/scripts/pkg-stats: fix flake8 warning 2020-07-12 21:23:13 +02:00
system
toolchain toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH 2020-06-27 17:19:53 +02:00
utils
.defconfig
.flake8
.gitignore
.gitlab-ci.yml configs/imx6ullevk: new defconfig 2020-07-16 09:20:06 +02:00
.gitlab-ci.yml.in
CHANGES
Config.in support/dependencies: add BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT 2020-07-12 11:20:27 +02:00
Config.in.legacy Config.in.legacy: drop legacy handling for BR2_PACKAGE_FIRMWARE_DDRFW_* options 2020-07-12 10:16:47 +02:00
COPYING
DEVELOPERS configs/imx6ullevk: new defconfig 2020-07-16 09:20:06 +02:00
Makefile Makefile: use order-only dependency so symlinks are made only once 2020-07-18 08:47:34 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches