diff options
author | François Chavant <francois@chavant.info> | 2021-05-07 17:58:11 +0200 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2021-05-30 22:32:50 +0200 |
commit | 1a41b88803366fdd8eaf773c4a10e41a0e8947db (patch) | |
tree | bcb6b7d7827ac994e2b4ac357ccbe202914b31b6 /target/linux/ipq806x | |
parent | d484366a9e557fa12e5a7e4a69f7b272d2e10459 (diff) | |
download | upstream-1a41b88803366fdd8eaf773c4a10e41a0e8947db.tar.gz upstream-1a41b88803366fdd8eaf773c4a10e41a0e8947db.tar.bz2 upstream-1a41b88803366fdd8eaf773c4a10e41a0e8947db.zip |
build: kernel2minor: work around path length limit
When building for MikroTik devices the kernel2minor tool will sometimes
fail with:
Can't get lstat from kernel file!: No such file or directory.
This is because kernel2minor expects paths no longer than 250 chars.
To work around this the include/image-commands.mk has been modified
to copy the kernel to a temporary file (/tmp/tmp.XXXXXXXXXX) before
calling kernel2minor.
Signed-off-by: François Chavant <francois@chavant.info>
(cherry picked from commit 5a9608102b3c444d0c963255f9d016a1d5469d5d)
Diffstat (limited to 'target/linux/ipq806x')
0 files changed, 0 insertions, 0 deletions