Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eliab Andi Artz
package-helpers
Commits
3ba8e57b
Commit
3ba8e57b
authored
10 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Modified ubiquity to avoid signed kernels
parent
c8a591cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-ubiquity
+20
-9
20 additions, 9 deletions
helpers/make-ubiquity
with
20 additions
and
9 deletions
helpers/make-ubiquity
+
20
−
9
View file @
3ba8e57b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment