From 2413f1f2a334e1d464713dd8ce0eb8c0f711dc29 Mon Sep 17 00:00:00 2001 From: Kenny Cheng Date: Sun, 8 Jul 2012 19:04:25 +0200 Subject: [PATCH] Add /run to support openrc >=0.10 --- ChangeLog | 3 +++ defaults/linuxrc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d5ad59..1340d09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ # Distributed under the GPL v2 # $Id$ + 08 Jul 2012; Kenny Cheng defaults/linuxrc: + Add /run to support openrc >=0.10 + 11 Jun 2012; Sebastian Pipping genkernel: Bump version to 3.4.36 diff --git a/defaults/linuxrc b/defaults/linuxrc index b6ad58f..8a1bec9 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -806,7 +806,7 @@ then fi done - mkdir initramfs proc tmp sys 2>/dev/null + mkdir initramfs proc tmp sys run 2>/dev/null chmod 1777 tmp fi @@ -876,7 +876,7 @@ verbose_kmsg echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting (initramfs)${NORMAL}" cd "${CHROOT}" -mkdir "${CHROOT}/proc" "${CHROOT}/sys" 2>/dev/null +mkdir "${CHROOT}/proc" "${CHROOT}/sys" "${CHROOT}/run" 2>/dev/null echo -ne "${BOLD}.${NORMAL}" # If devtmpfs is mounted, try move it to the new root -- 2.26.2