mirror of https://github.com/marcosfad/mbp-ubuntu
Update chroot_build.sh
This commit is contained in:
parent
1a9ae231ea
commit
76e1b6bb1a
|
@ -110,9 +110,6 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
|
||||||
apfs-dkms \
|
apfs-dkms \
|
||||||
dmg2img
|
dmg2img
|
||||||
|
|
||||||
apfs_ver=$(ls /usr/src | grep linux-apfs-rw | cut -d "-" -f 4)
|
|
||||||
dkms install -m linux-apfs-rw -v ${apfs_ver} -k KVER-t2-${CODENAME}
|
|
||||||
|
|
||||||
echo >&2 "===]> Info: Change initramfs format (for grub)... "
|
echo >&2 "===]> Info: Change initramfs format (for grub)... "
|
||||||
sed -i "s/COMPRESS=lz4/COMPRESS=gzip/g" "/etc/initramfs-tools/initramfs.conf"
|
sed -i "s/COMPRESS=lz4/COMPRESS=gzip/g" "/etc/initramfs-tools/initramfs.conf"
|
||||||
|
|
||||||
|
@ -126,6 +123,9 @@ printf 'apple-bce' >>/etc/modules-load.d/t2.conf
|
||||||
#printf '\n# display f* key in touchbar\noptions apple-ib-tb fnmode=1\n' >> /etc/modprobe.d/apple-tb.conf
|
#printf '\n# display f* key in touchbar\noptions apple-ib-tb fnmode=1\n' >> /etc/modprobe.d/apple-tb.conf
|
||||||
#printf '\n# delay loading of the touchbar driver\ninstall apple-ib-tb /bin/sleep 7; /sbin/modprobe --ignore-install apple-ib-tb' >> /etc/modprobe.d/delay-tb.conf
|
#printf '\n# delay loading of the touchbar driver\ninstall apple-ib-tb /bin/sleep 7; /sbin/modprobe --ignore-install apple-ib-tb' >> /etc/modprobe.d/delay-tb.conf
|
||||||
|
|
||||||
|
apfs_ver=$(ls /usr/src | grep linux-apfs-rw | cut -d "-" -f 4)
|
||||||
|
dkms install -m linux-apfs-rw -v ${apfs_ver} -k KVER-t2-${CODENAME}
|
||||||
|
|
||||||
echo >&2 "===]> Info: Update initramfs... "
|
echo >&2 "===]> Info: Update initramfs... "
|
||||||
|
|
||||||
## Add custom drivers to be loaded at boot
|
## Add custom drivers to be loaded at boot
|
||||||
|
|
Loading…
Reference in New Issue