efi: generalize (stage2 += rootfs)

This feature is more generally applicable indeed;
might result in duplication due to the installer
components adding "efivars" independently but that
is to be sorted out later in those components:
- check whether it's added already sometime soon;
- maybe stop adding that at some point in the future.

install2 and rescue roots still need this too though.
This commit is contained in:
Michael Shigorin 2013-05-27 17:41:49 +04:00
parent 3e1685aeb6
commit 8d26de28a3
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
#!/bin/sh
# see also https://bugzilla.altlinux.org/27970
grep -q efivars /etc/modules || echo efivars >> /etc/modules

View File

@ -1,4 +1,4 @@
#!/bin/sh
# see also https://bugzilla.altlinux.org/27970
echo efivars >> /etc/modules
grep -q efivars /etc/modules || echo efivars >> /etc/modules