Files
poky/meta/recipes-support
Gyorgy Sarvari 77b7006d77 ca-certificates: fix on-target postinstall script
When the package is installed directly on the machine (instead of
installing it in the rootfs directly), the postinstall script fails with
the following error:

/usr/sbin/update-ca-certificates: line 75: shift: shift count out of range

The reason is that the "update-ca-certificates" script is executed with
the "--sysroot" argument, and as the sysroot $D is passed. However on the
target system this variable doesn't exist, so the argument is passed without
this mandatory value, and the execution fails.

To avoid this error, check if the $D variable exists, and pass the --sysroot
argument only when it does.

Reported-by: WXbet <Wxbet@proton.me>
(From OE-Core rev: cf39461e97098a1b28693299677888ba7e8bfccf)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
..
2025-04-10 11:05:34 +01:00
2025-03-27 11:19:04 +00:00
2025-05-27 09:01:16 +01:00
2025-04-03 11:06:19 +01:00
2024-02-03 22:08:26 +00:00
2025-05-13 10:29:20 +01:00
2024-10-11 12:17:02 +01:00
2025-03-19 09:48:14 +00:00
2025-03-13 11:00:35 +00:00
2025-03-06 11:16:46 +00:00
2025-02-27 10:55:16 +00:00
2025-04-10 11:05:35 +01:00
2022-04-14 09:47:00 +01:00
2025-05-27 09:01:16 +01:00
2024-08-09 22:33:38 +01:00
2025-02-05 12:49:55 +00:00
2025-05-13 10:29:21 +01:00
2025-01-10 11:26:29 +00:00
2025-03-17 22:38:32 +00:00
2024-08-28 09:14:27 +01:00
2023-06-28 07:56:33 +01:00
2022-12-22 23:05:50 +00:00
2024-11-18 22:09:02 +00:00
2025-02-20 11:57:49 +00:00
2024-10-11 12:17:02 +01:00
2024-01-24 15:46:19 +00:00
2025-05-13 10:29:21 +01:00
2025-04-03 11:06:19 +01:00
2025-03-17 22:38:32 +00:00
2024-08-29 21:58:19 +01:00
2025-04-03 11:06:19 +01:00
2025-03-27 11:19:03 +00:00
2025-03-06 11:16:47 +00:00
2024-11-27 14:58:48 +00:00
2024-08-28 09:14:27 +01:00
2024-07-16 11:25:29 +01:00
2022-11-22 12:26:46 +00:00
2025-05-13 10:29:21 +01:00
2024-06-25 11:50:58 +01:00
2025-05-08 10:28:18 +01:00
2025-03-20 11:29:03 +00:00
2024-09-04 12:38:44 +01:00
2024-12-05 17:07:10 +00:00
2025-01-03 10:51:27 +00:00