blob: bfef319ce98580a05602db7e1fea2e8e74c9fa59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
echo "devfs /usr/loacal/jails/devuan/dev devfs rw 0 0" >> /etc/fstab
echo "fdescfs /usr/loacal/jails/devuan/dev/fd fdescfs rw,linrdlnk 0 1" >> /etc/fstab
echo "linsys /usr/loacal/jails/devuan/sys linsysfs rw 0 0" >> /etc/fstab
echo "linproc /usr/loacal/jails/devuan/proc linprocfs rw 0 0" >> /etc/fstab
mount /usr/loacal/jails/devuan/dev
mount /usr/loacal/jails/devuan/dev/fd
mount /usr/loacal/jails/devuan/proc
mount /usr/loacal/jails/devuan/sys
sysctl compat.linux.osrelease=4.19.0
kldload linux
kldload linux64
chroot /compat/devuan /bin/bash
|