From 5ae93346f2e53c26141f27b1e51610ae2d627f23 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 29 Apr 2011 22:41:37 +0200 Subject: [PATCH] initramfs-tools: umount /run, reduce size of /run tmpfs. --- srcpkgs/initramfs-tools/files/init | 6 ++---- srcpkgs/initramfs-tools/template | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/initramfs-tools/files/init b/srcpkgs/initramfs-tools/files/init index e145c548c21..35d53ec80a0 100755 --- a/srcpkgs/initramfs-tools/files/init +++ b/srcpkgs/initramfs-tools/files/init @@ -31,7 +31,7 @@ if ! mount -t devtmpfs -o size=$tmpfs_size,mode=0755 devtmpfs /dev; then [ -e /dev/null ] || mknod /dev/null c 1 3 fi # Also mount a tmpfs for /run directory. -mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /run +mount -t tmpfs -o size=$tmpfs_size,mode=0755,nosuid,nodev tmpfs /run mkdir /run/udev mkdir /run/.initramfs @@ -299,9 +299,7 @@ unset resume_offset # Umount misc filesystems, they will be mounted by the init scripts. umount /sys umount /proc - -# Move /run to the final rootfs, so that .initramfs debug is available. -mount -n -o move /run ${rootmnt}/run +umount /run # Chain to real filesystem exec switch_root ${rootmnt} ${init} "$@" diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index e1bad84b55e..d951a8e5ddc 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.11 # This is the XBPS version +_localver=0.99.12 # This is the XBPS version _distver=0.98.8 # This should match debian version version=${_localver}.${_distver} build_style=custom-install