Add /run to support openrc >=0.10

cleanup-cruft
Kenny Cheng 13 years ago committed by Sebastian Pipping
parent eb53fc1098
commit 2413f1f2a3

@ -5,6 +5,9 @@
# Distributed under the GPL v2 # Distributed under the GPL v2
# $Id$ # $Id$
08 Jul 2012; Kenny Cheng <kenny97821419@gmail.com> defaults/linuxrc:
Add /run to support openrc >=0.10
11 Jun 2012; Sebastian Pipping <sping@gentoo.org> genkernel: 11 Jun 2012; Sebastian Pipping <sping@gentoo.org> genkernel:
Bump version to 3.4.36 Bump version to 3.4.36

@ -806,7 +806,7 @@ then
fi fi
done done
mkdir initramfs proc tmp sys 2>/dev/null mkdir initramfs proc tmp sys run 2>/dev/null
chmod 1777 tmp chmod 1777 tmp
fi fi
@ -876,7 +876,7 @@ verbose_kmsg
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting (initramfs)${NORMAL}" echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting (initramfs)${NORMAL}"
cd "${CHROOT}" cd "${CHROOT}"
mkdir "${CHROOT}/proc" "${CHROOT}/sys" 2>/dev/null mkdir "${CHROOT}/proc" "${CHROOT}/sys" "${CHROOT}/run" 2>/dev/null
echo -ne "${BOLD}.${NORMAL}" echo -ne "${BOLD}.${NORMAL}"
# If devtmpfs is mounted, try move it to the new root # If devtmpfs is mounted, try move it to the new root

Loading…
Cancel
Save