diff options
| author | Simon Rettberg | 2013-08-20 20:21:44 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-08-20 20:21:44 +0200 |
| commit | f6f820615a88a4943403cdcd5111a07bba6205df (patch) | |
| tree | 18bf15a4a1233b60aa80f95097e100009985779e /remote/rootfs | |
| parent | FIXfgdksjfgkldjfg (diff) | |
| download | tm-scripts-f6f820615a88a4943403cdcd5111a07bba6205df.tar.gz tm-scripts-f6f820615a88a4943403cdcd5111a07bba6205df.tar.xz tm-scripts-f6f820615a88a4943403cdcd5111a07bba6205df.zip | |
Fix /run stuff for the 25th time....
Diffstat (limited to 'remote/rootfs')
| -rw-r--r-- | remote/rootfs/rootfs-stage32/data/etc/tmpfiles.d/run-lock.conf | 2 | ||||
| -rw-r--r-- | remote/rootfs/rootfs-stage32/rootfs-stage32.build | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/tmpfiles.d/run-lock.conf b/remote/rootfs/rootfs-stage32/data/etc/tmpfiles.d/run-lock.conf new file mode 100644 index 00000000..ef610bdc --- /dev/null +++ b/remote/rootfs/rootfs-stage32/data/etc/tmpfiles.d/run-lock.conf @@ -0,0 +1,2 @@ +D /run/lock 1777 root root + diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build index dc53c237..02f238de 100644 --- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build +++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build @@ -66,8 +66,7 @@ post_copy() { # make basic directory structure mkdir -p "$TARGET_BUILD_DIR"/{bin,dev,proc,lib,etc,mnt,run,sys,var,opt/openslx/mnt} - ln -sf "../run/lock" "$TARGET_BUILD_DIR/var/lock" - ln -sf "../run" "$TARGET_BUILD_DIR/var/run" + ln -s -n -f -t "$TARGET_BUILD_DIR/var" "../run/lock" "../run" # make openslx log directory mkdir -p "${TARGET_BUILD_DIR}"/var/log/openslx |
