From 19ceb27e9ced352985a7cbc1df662d20db051648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 30 Nov 2023 22:42:57 +0100 Subject: lib64 --- prog/jelka/chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog/jelka/chroot.sh') diff --git a/prog/jelka/chroot.sh b/prog/jelka/chroot.sh index f1db05b..cf6a1da 100755 --- a/prog/jelka/chroot.sh +++ b/prog/jelka/chroot.sh @@ -4,7 +4,7 @@ mkdir -p $2 mount -t tmpfs -o nr_blocks=1,mode=0755 tmp $2 if [ x$1 = xstart ] then - for i in /bin /dev/null /etc /lib /lib64 /usr + for i in /bin /dev/null /etc /lib /usr do [ -d $i ] && mkdir -p $2/$i || { mkdir -p $2/`rev <<<$i | cut -d/ -f2- | rev` && touch $2/$i; } mount --bind -onosuid,ro $i $2/$i -- cgit v1.2.3