kumquat-buildroot/linux
Yann E. MORIN 21a231e104 linux: ensure images/ exist before creating files there
When using an initramfs, on the first-pass build, we create a dummy cpio
so that the build succeeeds. The real cpio will come later, and we'll do
a second-pass build to use the actual cpio.

However, when we touch that dummy cpio, the images/ directory may not
yet exist, since commit d0f4f95e39 (Makefile: rework main directory
creation logic) removed its creation at the begining of the build, to
only at the moment we need it, i.e. during the *_INSTALL_IMAGES_CMDS
steps.

However, the linux build is not a _INSTALL_IMAGES_CMDS step, so there is
no guarantee that images/ already exist at that time.

Fix that by explicitly creating images/ before touching the dummy cpio.

Reported-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 524fb10bbe)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-12-16 16:01:21 +01:00
..
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional linux: add conditional patch for timeconst.pl 2016-02-10 08:12:57 +01:00
Config.ext.in linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
Config.in linux: bump CIP to version v4.4.138-cip25 2018-08-24 00:17:44 +02:00
linux-ext-aufs.mk aufs: new kernel extension 2016-09-20 19:03:46 +02:00
linux-ext-ev3dev-linux-drivers.mk linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
linux-ext-fbtft.mk linux: fix fbtft kernel extension 2015-04-09 23:26:16 +02:00
linux-ext-rtai.mk arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
linux-ext-xenomai.mk linux: migrate extensions to use the new infrastructure 2015-04-09 23:00:01 +02:00
linux.mk linux: ensure images/ exist before creating files there 2018-12-16 16:01:21 +01:00