diff options
| author | Jörg Sommer <joerg.sommer@navimatix.de> | 2024-06-09 16:59:07 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-24 12:43:40 +0100 |
| commit | 44f1b2c56afd7fd202fe859476fab5a8ec0e912a (patch) | |
| tree | afbfe8643c87e61b6287c0a32a36a13a0bc655bf /scripts/lib/devtool/ide_plugins/ide_none.py | |
| parent | 5d88faa0f35f0205c1475893d8589d1e6533dcc0 (diff) | |
| download | poky-44f1b2c56afd7fd202fe859476fab5a8ec0e912a.tar.gz | |
classes/kernel: No symlink in postinst without KERNEL_IMAGETYPE_SYMLINK
The commit “Use a copy of image for kernel*.rpm if fs doesn't support
symlinks” [1] added postinst and postrm scripts to the kernel package which
create a symlink after package installation. This should not happen if
`KERNEL_IMAGETYPE_SYMLINK` is not `1`.
Background: The u-boot implementation of jffs2 does not support symlinks.
Using a hardlink or removing `${KERNEL_VERSION}` from the file name fails,
because the current postinst script replaces the file with the symlink.
[1] 8b6b95106a5d4f1f6d34209ec5c475c900270ecd
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Yanfei Xu <yanfei.xu@windriver.com>
(From OE-Core rev: 6a763401862d9ee96749ad18378b6344778c2c66)
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/ide_plugins/ide_none.py')
0 files changed, 0 insertions, 0 deletions
