buildroot/fs
Yann E. MORIN d0b7e11b93 fs/cpio: don't fail systems without /dev/null
We pass all our dracut configuration files via a config dir, but dracut
insists with having one config file. Because we do not want to have to
chose which file we pass (which would then have to be excluded from the
config dir), we just used an arbitrary empty file, and /dev/null seemed
to be a good candidate.

However, some build environments do not have a complete /dev, and may be
missing entries otherwise taken for granted, like /dev/null. This is
especially the case in constrained environments like containers.

Switch away from using /dev/null, and do create an actual empty file
that we can use as the dracut config file.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/3249828364

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-11-01 21:44:49 +01:00
..
axfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
btrfs fs: don't use := when not needed 2019-10-27 10:35:06 +01:00
cloop fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cpio fs/cpio: don't fail systems without /dev/null 2022-11-01 21:44:49 +01:00
cramfs fs/cramfs: add xip option 2018-04-09 11:29:46 +02:00
erofs fs/erofs: add big pcluster support 2021-07-19 22:34:21 +02:00
ext2 fs/ext2: add option for zstd compression 2022-07-23 22:40:00 +02:00
f2fs fs: don't use := when not needed 2019-10-27 10:35:06 +01:00
initramfs fs/initramfs: fix show-info 2020-03-18 22:44:19 +01:00
iso9660 fs/iso9660: add support for hybrid image using Grub2 on BIOS and EFI 2021-09-29 22:58:57 +02:00
jffs2 fs/jffs2: copy xattrs 2020-10-08 21:48:03 +02:00
oci fs/oci: entrypoint and command are space-separated lists 2022-05-15 22:03:26 +02:00
romfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
squashfs fs/squashfs: fix BR2_TARGET_ROOTFS_SQUASHFS_BS_8K 2022-05-29 22:28:21 +02:00
tar fs/tar: add option for zstd compression 2022-07-23 22:40:01 +02:00
ubi fs/ubi: expose BINARIES_DIR to ubinize.cfg 2020-06-06 13:43:43 +02:00
ubifs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
yaffs2 fs/yaffs2: fix code style 2018-04-01 07:55:22 +02:00
Config.in fs: new OCI filesystem type 2021-09-11 14:52:41 +02:00
common.mk fs/common.mk: use find instead of shell glob patterns 2022-03-12 17:45:21 +01:00