summaryrefslogtreecommitdiffstats
path: root/package/meson/0001-Fix-FileNotFoundError-when-restorecon-unavailable.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-12-01 16:09:46 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-03-31 22:34:55 +0200
commit725ea68913cf6369a40180a70d94fadb06ca6491 (patch)
tree0346545e2a2c896093457803628923d1f40da09a /package/meson/0001-Fix-FileNotFoundError-when-restorecon-unavailable.patch
parent152f58e2092158cfd243934f577430badd619637 (diff)
downloadbuildroot-725ea68913cf6369a40180a70d94fadb06ca6491.tar.gz
buildroot-725ea68913cf6369a40180a70d94fadb06ca6491.zip
infra/pkg-kconfig: do not update-(def)config to a directory
Currently, if the user specifies the path to an existing directory as the path to the custom (def)config file (FOO_KCONFIG_FILE), then we happily create a file in there, either 'defconfig' or '.config' (or whatever the .config is named for that package), depending on whether we're saving a defconfig or a full config. So, we could save the file, but then the Buildroot defconfig file that contains that path would no longer be reusable as-is, because we interpret that path as a path to a file. Furthermore, if the directory-portion of FOO_KCONFIG_FILE does not exist yet, the update would fail, because cp does not create missing directory components. So we fix that by adding an explicit test for the directory-ness of the target file, and then an explicit mkdir to create missing directory components. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/meson/0001-Fix-FileNotFoundError-when-restorecon-unavailable.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud