From 19bba3e1e4c21fd389f8f9c7a13af3574e1cae4b Mon Sep 17 00:00:00 2001 From: Re4son Date: Thu, 28 Feb 2019 13:04:29 +1100 Subject: [PATCH] Mount $rootfs/sys Mount $rootfs/sys at start of stage 3 to allow the installation of packages that rely on it Closes issue #1257 https://github.com/offensive-security/kali-nethunter/issues/1257 --- nethunter-fs/stages/stage3 | 1 + 1 file changed, 1 insertion(+) diff --git a/nethunter-fs/stages/stage3 b/nethunter-fs/stages/stage3 index 3c05e4588f..6a4e7f8cb6 100644 --- a/nethunter-fs/stages/stage3 +++ b/nethunter-fs/stages/stage3 @@ -7,6 +7,7 @@ export DEBIAN_FRONTEND=noninteractive mount -t proc proc "$rootfs/proc" mount -o bind /dev "$rootfs/dev" mount -o bind /dev/pts "$rootfs/dev/pts" +mount -t sysfs sys "$rootfs/sys" cat << EOF > "$rootfs/debconf.set" console-common console-data/keymap/policy select Select keymap from full list