03-03-2021, 08:34 PM
(03-03-2021, 06:44 PM)Danct12 Wrote: You can modify /boot/boot.txt and run ./mkscr to regenerate the script then reboot.
I was justtt about to post that I figured out how to edit it using uboot-tools lol. I used the mkimage tool though (was there a difference in one working?):
Code:
mkimage -A arm -T script -O linux -d boot.txt boot.scr
I added the parameters
Code:
apparmor=1 security=apparmor
so the boot.txt setenv line became like this
Code:
setenv bootargs loglevel=4 console=${console} console=tty0 root=/dev/mmcblk${linux_mmcdev}p${rootpart} rw rootwait apparmor=1 security=apparmor quiet bootsplash.bootfile=bootsplash-themes/danctnix/bootsplash
Then using the mkimage, regenerated it. Then rebooted. But still fails to to load
Code:
● apparmor.service - Load AppArmor profiles
Loaded: loaded (/usr/lib/systemd/system/apparmor.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Wed 2021-03-03 18:18:51 PST; 1min 21s ago
└─ ConditionSecurity=apparmor was not met
Cat'ing the proc cmdline, confirms it did get the entry:
Code:
$ cat /proc/cmdline
loglevel=4 console=ttyS0,115200 console=tty0 root=/dev/mmcblk2p2 rw rootwait apparmor=1 security=apparmor quiet bootsplash.bootfile=bootsplash-themes/danctnix/bootsplash