initramfs-tools: move /run fs to ${rootmnt}, to preserve udev and debug.

This commit is contained in:
Juan RP 2011-06-19 01:18:33 +02:00
parent 710aa3f552
commit d9dd98aa86
2 changed files with 3 additions and 2 deletions

View file

@ -299,7 +299,8 @@ unset resume_offset
# Umount misc filesystems, they will be mounted by the init scripts.
umount /sys
umount /proc
umount /run
mount -o move /run ${rootmnt}/run
# Chain to real filesystem
exec switch_root ${rootmnt} ${init} "$@"

View file

@ -1,6 +1,6 @@
# Template file for 'initramfs-tools'
pkgname=initramfs-tools
_localver=0.99.17 # This is the XBPS version
_localver=0.99.18 # This is the XBPS version
_distver=0.98.8 # This should match debian version
version=${_localver}.${_distver}
build_style=custom-install