[scripts] inner_source_chroot_update: checking /proc and /dev/pts here is useless
This commit is contained in:
parent
9583ba9b22
commit
d8438826eb
@ -1,16 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# create /proc if it doesn't exist
|
|
||||||
# rsync doesn't copy it
|
|
||||||
if [ ! -d "/proc" ]; then
|
|
||||||
mkdir /proc
|
|
||||||
touch /proc/.keep
|
|
||||||
fi
|
|
||||||
if [ ! -d "/dev/pts" ]; then
|
|
||||||
mkdir /dev/pts
|
|
||||||
touch /dev/pts/.keep
|
|
||||||
fi
|
|
||||||
|
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
env-update
|
env-update
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
Loading…
Reference in New Issue
Block a user