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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
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
David Philipe Gil
package-helpers
Commits
8b4cd97d
Commit
8b4cd97d
authored
10 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Updated ubiquity helper
parent
c1299029
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
+16
-11
16 additions, 11 deletions
helpers/make-ubiquity
with
16 additions
and
11 deletions
helpers/make-ubiquity
+
16
−
11
View file @
8b4cd97d
...
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
VERSION
=
2
.
./config
...
...
@@ -43,7 +43,7 @@ done
echo
"d-i/source/apt-setup/generators/99trisquel usr/lib/ubiquity/apt-setup/generators"
>>
debian/ubiquity.install-any
#change icon
cp
$DATA
/trisquel.png d
esktop
/ubiquity.png
cp
$DATA
/trisquel.png d
ata
/ubiquity.png
# remove Ubuntu apt setup for the installer
find d-i/source/apt-setup/generators
-type
f |
grep
-v
01setup | xargs
-r
rm
...
...
@@ -122,9 +122,11 @@ done
cat
<<
EOF1
>> scripts/apt-setup
#Trisquel hack to regenerate ssl keys after installation
rm -f /target/etc/ssh/ssh_host_*
ssh-keygen -q -f /target/etc/ssh/ssh_host_rsa_key -N '' -t rsa
ssh-keygen -q -f /target/etc/ssh/ssh_host_dsa_key -N '' -t dsa
if [ -f /target/etc/ssh/ssh_host_rsa_key ]; then
rm -f /target/etc/ssh/ssh_host_*
ssh-keygen -q -f /target/etc/ssh/ssh_host_rsa_key -N '' -t rsa
ssh-keygen -q -f /target/etc/ssh/ssh_host_dsa_key -N '' -t dsa
fi
if [ -d /etc/italc ]
then
rm -rf /etc/italc/*
...
...
@@ -138,17 +140,17 @@ 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.
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
...
...
@@ -175,9 +177,12 @@ fi
EOF1
sed
's/Trisquel/Trsql/'
-i
ubiquity/plugins/ubi-partman.py
sed
's/Trisquel-Battersea/Ubuntu-Battersea/'
-i
tests/test_gtkwidgets.py
changelog
"Adapted for Trisquel"
rm
-rf
debian/source
compile
PARALLEL
=
false
compile
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