diff options
author | Dave Reisner <dreisner@archlinux.org> | 2018-03-29 11:46:08 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2018-03-29 11:46:08 +0200 |
commit | cfcc53c94d0bd67fc69e06c6c5f52bd801ccbe22 (patch) | |
tree | 624f6d2474641cf4c39666df32b61e84e6ea2557 /functions | |
parent | c511e624d4f0264d1ee4f32b08b59352d76708e5 (diff) | |
download | mkinitcpio-cfcc53c94d0bd67fc69e06c6c5f52bd801ccbe22.tar.gz mkinitcpio-cfcc53c94d0bd67fc69e06c6c5f52bd801ccbe22.tar.xz |
ship /var/run as symlink to /run
This might not strictly be strictly needed, but systemd documents it as
being a requirement, else it adds a var-run-bad taint flag.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -671,7 +671,7 @@ initialize_buildroot() { fi # base directory structure - install -dm755 "$buildroot"/{new_root,proc,sys,dev,run,tmp,etc,usr/{local,lib,bin}} + install -dm755 "$buildroot"/{new_root,proc,sys,dev,run,tmp,var,etc,usr/{local,lib,bin}} ln -s "usr/lib" "$buildroot/lib" ln -s "../lib" "$buildroot/usr/local/lib" ln -s "bin" "$buildroot/usr/sbin" @@ -679,6 +679,7 @@ initialize_buildroot() { ln -s "usr/bin" "$buildroot/sbin" ln -s "../bin" "$buildroot/usr/local/bin" ln -s "../bin" "$buildroot/usr/local/sbin" + ln -s "/run" "$buildroot/var/run" case $arch in x86_64) |