summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-11-22 11:23:48 +0100
committerSteve Sakoman <steve@sakoman.com>2024-01-04 04:09:43 -1000
commit792649dee09905feeb10e6038b76aee33d71ada5 (patch)
tree5e5915fa1fc320155f66ed3a4e88bf11caaf9f53 /scripts/lib/devtool/standard.py
parent4558219ec8584e05c215057c0c271600fa52d6c2 (diff)
downloadpoky-792649dee09905feeb10e6038b76aee33d71ada5.tar.gz
systemd-compat-units.bb: fix postinstall script
This fixes an issue running "opkg upgrade" on a system with systemd (and when there is an update to "systemd-compat-units", for example between yocto 4.2.2 and 4.2.3): //var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file or directory The existence of /etc/init.d is now tested without causing an error if doesn't exist. Fixes [YOCTO #15292] (From OE-Core rev: d114814fa2628cfea2769d65a26514b76e61a0fa) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0330331a1386fd2a34b410a7f62b29bfc8dc23c4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions