Skip to content

Commit

Permalink
systemd: Remove manual symlink creation
Browse files Browse the repository at this point in the history
It looks like, systemd does it for us now with the script
`tools/meson-make-symlink.sh`. No idea, why it wasn’t the case in
systemd 237.

```
[BEE] => entering mee_install_post() ..
mkdir: cannot create directory ‘/dev/shm/bee-root/systemd/systemd-238-0/image/sbin’: File exists
```
  • Loading branch information
pmenzel committed Mar 12, 2018
1 parent faecf51 commit 554b02f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions systemd.be0
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ mee_configure() {
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
mkdir ${D}/sbin
for tool in runlevel reboot shutdown poweroff halt telinit; do
ln -sv ../bin/systemctl ${D}/sbin/${tool}
done
ln -sv ../lib/systemd/systemd ${D}/sbin/init

# Support Linux kernels built with `CONFIG_CMDLINE="init=/bin/systemd"`
ln -v ${D}/lib/systemd/systemd ${D}/bin/systemd

Expand Down

0 comments on commit 554b02f

Please sign in to comment.