grub2: Allow Windows and MacOX entries to boot without a password
This commit is contained in:
parent
815c97979f
commit
b75364070c
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=4
|
VERSION=5
|
||||||
COMPONENT=main
|
COMPONENT=main
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
@ -57,6 +57,9 @@ echo /bin/sed "/GNU GRUB version/ s/PACKAGE_VERSION/\"$GRUBVERSION\"/" -i grub-
|
||||||
changelog "Disable rescue mode by default, branding"
|
changelog "Disable rescue mode by default, branding"
|
||||||
#sed "s/-.*)/-${REVISION}trisquel${VERSION})/" -i debian/changelog
|
#sed "s/-.*)/-${REVISION}trisquel${VERSION})/" -i debian/changelog
|
||||||
|
|
||||||
|
# Allow Windows and MacOX entries to boot without a password
|
||||||
|
sed 's/class osx/class osx --unrestricted/; s/class windows/class osx --unrestricted/;' -i ./util/grub.d/30_os-prober.in
|
||||||
|
|
||||||
#apt-get install -y --force-yes kvm-pxe
|
#apt-get install -y --force-yes kvm-pxe
|
||||||
# /dev is needed for KVM support
|
# /dev is needed for KVM support
|
||||||
#mount none -t devtmpfs /dev || true
|
#mount none -t devtmpfs /dev || true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue