diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-12-03 20:12:19 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-06 21:51:23 +0100 |
commit | 524fb10bbe2038ea7ca45493193073d31732d1de (patch) | |
tree | a3fcd907177400c281e2111d0515266ad769ae5f /support/testing/tests/package/test_perl_libwww_perl.py | |
parent | 01b9bdf13e2e97d2e2a8b8225bfc44fd57d022c3 (diff) | |
download | buildroot-524fb10bbe2038ea7ca45493193073d31732d1de.tar.gz buildroot-524fb10bbe2038ea7ca45493193073d31732d1de.zip |
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>
Diffstat (limited to 'support/testing/tests/package/test_perl_libwww_perl.py')
0 files changed, 0 insertions, 0 deletions