From 25ca78d575777ee31942021451d1042aec1bc088 Mon Sep 17 00:00:00 2001 From: tclover Date: Tue, 23 Dec 2014 13:25:00 +0100 Subject: [PATCH] init mkinitramfs-ll.conf: 0.15.0 version bump --- init | 12 +++++++----- mkinitramfs-ll.conf | 6 +++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/init b/init index e8366d3..c196cf8 100755 --- a/init +++ b/init @@ -3,7 +3,7 @@ # $Header: mkinitramfs-ll/init Exp $ # $Author: (c) 2011-2014 -tclover Exp $ # $License: 2-clause/new/simplified BSD Exp $ -# $Version: 0.14.4 2014/12/01 12:33:03 Exp $ +# $Version: 0.15.0 2014/12/22 12:33:03 Exp $ # # WARNING: USE AT YOUR OWN RISK! EVERYTHING IS GIVEN “AS IS”, SEE COPYING FILE # NEED SOME HELP? WHERE'S THE README FILE? YOU ASK? WHO KNOWS. @@ -402,12 +402,14 @@ msg -i "Switching / ..." $SPLD && debug spld_stop sleep 1 -debug -d umount -l /sys -debug -d umount -l /dev/pts -debug -d umount -l /dev export LOGFILE=/$0.log debug -d umount -l /run -debug -d umount -l /proc +debug -d umount -l /dev/pts +if -z "$sysfs_umount"; then + debug -d umount -l /sys + debug -d umount -l /dev + debug -d umount -l /proc +fi lvl 4s diff --git a/mkinitramfs-ll.conf b/mkinitramfs-ll.conf index ede46f2..b272702 100644 --- a/mkinitramfs-ll.conf +++ b/mkinitramfs-ll.conf @@ -1,5 +1,5 @@ # -# Header: mkinitramfs-ll/mkinitramfs-ll.conf, 2014/10/10 08:33:06 Exp +# Header: mkinitramfs-ll/mkinitramfs-ll.conf, 2014/12/22 Exp # # opts an associative array which hold pretty much every single option, # so one could assign default values for pretty much everything: opts[-arg] @@ -102,8 +102,12 @@ env+=( #'iroot=root-sda2:ext4:chk' # Set up root key mode #'ikroot=pwd' + # Setup init variable if necessary + #'init=/sbin/runit-init' # Set up extra option (squash(ed) directory) #'isquashd=:+LOCAL:var/portage' + # Set this variable to keep {proc,dev,sys} mounted + #'sysfs_umount=1' ) #