mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
initramfs-tools: move /run fs to ${rootmnt}, to preserve udev and debug.
This commit is contained in:
parent
710aa3f552
commit
d9dd98aa86
2 changed files with 3 additions and 2 deletions
|
@ -299,7 +299,8 @@ unset resume_offset
|
||||||
# Umount misc filesystems, they will be mounted by the init scripts.
|
# Umount misc filesystems, they will be mounted by the init scripts.
|
||||||
umount /sys
|
umount /sys
|
||||||
umount /proc
|
umount /proc
|
||||||
umount /run
|
|
||||||
|
mount -o move /run ${rootmnt}/run
|
||||||
|
|
||||||
# Chain to real filesystem
|
# Chain to real filesystem
|
||||||
exec switch_root ${rootmnt} ${init} "$@"
|
exec switch_root ${rootmnt} ${init} "$@"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'initramfs-tools'
|
# Template file for 'initramfs-tools'
|
||||||
pkgname=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
|
_distver=0.98.8 # This should match debian version
|
||||||
version=${_localver}.${_distver}
|
version=${_localver}.${_distver}
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
|
|
Loading…
Add table
Reference in a new issue