Skip to content
Snippets Groups Projects
Commit 3ba8e57b authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Modified ubiquity to avoid signed kernels

parent c8a591cd
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=2
VERSION=5
. ./config
......@@ -25,6 +25,10 @@ cp $DATA/trisquel_installed.png pixmaps
rm pixmaps/ubuntu_installed.png
replace ubuntu_installed trisquel_installed .
replace linux-signed linux-lowlatency .
replace shim-signed shim .
replace grub-efi-amd64-signed grub-efi-amd64 .
/bin/sed '/canonical/d' -i debian/ubiquity.install*
rm tests/test_ubi_partman*
......@@ -140,17 +144,21 @@ then
chown root:admin /target/etc/italc/keys/private/*/key
fi
#cat << EOF > /target/etc/grub.d/01_PASSWORD
cat << EOF > /target/etc/grub.d/01_PASSWORD
#! /bin/sh -e
# Trisquel enables a random password to grub during install
# Comment this file to remove the password.
# This file should only be readable by root.
# As a security measure Trisquel sets a password for GRUB during install.
# It prevents unauthorized users from gaining root through the boot manager.
# You can still edit GRUB entries by entering "grub" as user and the password
# set below in this file. This file should only be readable by root.
#
# To disable the password, Comment or remove this file and run this command:
# sudo update-grub2
#echo set superusers=grub
#echo password grub \$(bash -c 'echo \$RANDOM')
#EOF
echo set superusers=grub
echo password grub \$(bash -c 'echo \$RANDOM')
EOF
#chmod 700 /target/etc/grub.d/01_PASSWORD
chmod 700 /target/etc/grub.d/01_PASSWORD
# Hacks for accessibility
if pgrep orca > /dev/null
......@@ -161,6 +169,9 @@ screen-reader-enabled=true
[org.gnome.desktop.interface]
toolkit-accessibility=true
[com.canonical.unity-greeter]
screen-reader=true
" >> /target/usr/share/glib-2.0/schemas/99_accessibility.gschema.override
chroot /target glib-compile-schemas /usr/share/glib-2.0/schemas
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment