m1n1: update to 1.4.21, add mitigations to hook
This commit is contained in:
parent
09ff63d4dd
commit
9a9015a614
@ -22,7 +22,7 @@ if [ -e "$CONFIG" ]; then
|
||||
case "$line" in
|
||||
"") ;;
|
||||
\#*) ;;
|
||||
chosen.*=*|display=*)
|
||||
chosen.*=*|display=*|mitigations=*)
|
||||
echo "$line" >> "$m1n1config"
|
||||
echo "Option: $line"
|
||||
;;
|
||||
|
@ -1,23 +0,0 @@
|
||||
# This configuration file specifies options for the m1n1 bootloader.
|
||||
#
|
||||
# Be careful when editing this file, as incorrect settings can cause your system to fail to boot.
|
||||
#
|
||||
# Display configuration (Mac Mini / Mac Studio only)
|
||||
|
||||
# Force re-configuration of the display to defaults in m1n1 stage 2
|
||||
# This is redundant unless your m1n1 stage 1 is buggy or ancient
|
||||
#display=auto
|
||||
|
||||
# Configure the boot display to the default 4K mode
|
||||
#display=3840x2160
|
||||
|
||||
# Configure the boot display to 4K at 60Hz (or closest available)
|
||||
#display=3840x2160@60
|
||||
|
||||
# Configure the boot display to 4K at 59.97Hz (or closest available)
|
||||
#display=3840x2160@59.94
|
||||
|
||||
# Add an arbitrary property to /chosen in the device tree
|
||||
#chosen.foo=bar
|
||||
# chosen.bootargs=console=tty0 loglevel=4 root=/dev/nvme0n1p6 rootwait rw
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'm1n1'
|
||||
pkgname=m1n1
|
||||
version=1.4.17
|
||||
revision=2
|
||||
version=1.4.21
|
||||
revision=1
|
||||
archs="aarch64*"
|
||||
hostmakedepends="ImageMagick void-artwork"
|
||||
short_desc="Asahi Linux bootloader"
|
||||
@ -9,7 +9,7 @@ maintainer="Will Springer <skirmisher@protonmail.com>, dkwo <npiazza@disroot.org
|
||||
license="MIT"
|
||||
homepage="https://asahilinux.org"
|
||||
distfiles="https://github.com/AsahiLinux/m1n1/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=59c960ada35880bf39e033d6cc5ac0079a693a3bb17fb06dfe91e431d2773f96
|
||||
checksum=5e0239ff497a8694eaf650d292254aba7d45611f37393053558ee36886db4111
|
||||
conf_files="/etc/m1n1.conf /etc/default/m1n1-kernel-hook"
|
||||
|
||||
post_extract() {
|
||||
@ -29,9 +29,11 @@ do_build() {
|
||||
|
||||
do_install() {
|
||||
vinstall build/m1n1.bin 644 usr/lib/asahi-boot
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
vinstall ${FILESDIR}/m1n1.conf 644 etc m1n1.conf
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vinstall m1n1.conf.example 644 etc m1n1.conf
|
||||
vinstall ${FILESDIR}/m1n1-kernel-hook.confd 644 etc/default m1n1-kernel-hook
|
||||
vinstall ${FILESDIR}/kernel.d/m1n1.post-install 744 etc/kernel.d/post-install 50-m1n1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user