From d9dd98aa86988bcd4fe8d3bd4d2f4d571a237101 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 19 Jun 2011 01:18:33 +0200 Subject: [PATCH] initramfs-tools: move /run fs to ${rootmnt}, to preserve udev and debug. --- srcpkgs/initramfs-tools/files/init | 3 ++- srcpkgs/initramfs-tools/template | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/initramfs-tools/files/init b/srcpkgs/initramfs-tools/files/init index 35d53ec80a0..8b7515f9f0b 100755 --- a/srcpkgs/initramfs-tools/files/init +++ b/srcpkgs/initramfs-tools/files/init @@ -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} "$@" diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 3a43bb9d042..fa2f0c8385c 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -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