aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-12-29 14:13:52 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-12-29 14:13:52 -0200
commitf8f3a1df47586e80cbbcd76263a18e3b52ccbcf8 (patch)
tree62e7c9a61151e16f95e66e24b4da2d84be7f4f23
parentd491023289a1d491def2292f39ae2c436b10a55b (diff)
downloadbootless-f8f3a1df47586e80cbbcd76263a18e3b52ccbcf8.tar.gz
bootless-f8f3a1df47586e80cbbcd76263a18e3b52ccbcf8.tar.bz2
Adds apparmor cmdline into bootfde
-rw-r--r--templates/grub.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/grub.cfg b/templates/grub.cfg
index 530df33..85f509d 100644
--- a/templates/grub.cfg
+++ b/templates/grub.cfg
@@ -61,7 +61,7 @@ function bootfde {
insmod lvm
echo "Loading ${volume}..."
- linux /boot/vmlinuz-${version} root=/dev/mapper/${target} cryptopts=target=${target},source=${source} ro quiet
+ linux /boot/vmlinuz-${version} root=/dev/mapper/${target} cryptopts=target=${target},source=${source} ro quiet apparmor=1 security=apparmor
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-${version}
}