From b474c1ca151c323ae5f8a4b402960cfa0f21c6cf Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 18 Nov 2013 23:34:00 +0100 Subject: [PATCH] stage2: add /run symlink to /var/run. --- config/rootfiles/common/stage2 | 1 + lfs/stage2 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index d5d1a5ceb..a53ecafc3 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/stage2 @@ -132,6 +132,7 @@ usr/share/doc/licenses/GPLv3 #usr/share/misc #usr/share/terminfo #usr/share/zoneinfo +run #var #var/cache var/empty diff --git a/lfs/stage2 b/lfs/stage2 index 5c15f4183..3c4a8e448 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -111,6 +111,9 @@ $(TARGET) : chgrp -v utmp /var/run/utmp /var/log/lastlog chmod -v 664 /var/run/utmp /var/log/lastlog + # Create /run symlink + ln -s /var/run /run + # Permissions chmod 0711 /var/empty -- 2.39.2