Skip to content

Commit 64a05b0

Browse files
committed
Add M1 Mac support separately
Signed-off-by: Tarun Pothulapati <[email protected]>
1 parent 1d66f8d commit 64a05b0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

entrypoint.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ DOMAIN="${DOMAIN_STRING}.nip.io"
99

1010
echo "Gitpod Domain: $DOMAIN"
1111

12-
# M1 and cgroupsv2 stuff
13-
if ! grep -iq 'cpu.*hz' /proc/cpuinfo; then
14-
cpuinfo_file=/etc/cpuinfo_with_fake_speed
15-
cp /proc/cpuinfo $cpuinfo_file
16-
echo "CPU MHz: 2345.678" >> $cpuinfo_file
17-
mount --bind $cpuinfo_file /proc/cpuinfo
18-
fi
19-
2012
if [ -f /sys/fs/cgroup/cgroup.controllers ]; then
2113
echo "[$(date -Iseconds)] [CgroupV2 Fix] Evacuating Root Cgroup ..."
2214
# move the processes from the root group to the /init group,

0 commit comments

Comments
 (0)