From 14f1af73722cab98d02096221b482c27a0e14355 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Sep 2022 07:01:59 +0200 Subject: Upgrade to latest Debian testing New (old) versions of key packages: systemd/udev 251.3-1 (249.5-2) qemu-system-x86 7.0+dfsg-7+b1 (6.1+dfsg-8) linux-image-amd64 5.18.16 (5.14.9-2) g++ 12.2.0-1 (11.2.0-2) initramfs-tools 0.142 (0.140) debootstrap 1.0.127 (1.0.125) New (old) sizes: buildos-image 6,631,136 (6,316,352) buildos-initrd 350,467,663 (332,280,629) --- init | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'init') diff --git a/init b/init index eb0c939..429c87d 100755 --- a/init +++ b/init @@ -41,7 +41,14 @@ mount -t proc -o nodev,noexec,nosuid proc /proc info "init starting up..." mount -t devtmpfs -o nosuid,mode=0755 udev /dev + +# Prepare the /dev directory. +# ln -s /proc/self/fd /dev/fd +ln -s /proc/self/fd/0 /dev/stdin +ln -s /proc/self/fd/1 /dev/stdout +ln -s /proc/self/fd/2 /dev/stderr + mkdir -p /dev/pts mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true @@ -77,7 +84,7 @@ sensors-detect --auto # Initialize KVM. # -#if ! (modprobe kvm_intel || modprobe kvm_amd); then +#if ! (/sbin/modprobe kvm_intel || /sbin/modprobe kvm_amd); then # error "no virtualization support available (is it disabled in BIOS?)" #fi -- cgit v1.1