initramfs-tools: move /run fs to ${rootmnt}, to preserve udev and debug.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user