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
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
trisquel
package-helpers
Commits
359faf61
Commit
359faf61
authored
8 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Updated grub2 for flidas build
parent
24dea1d1
No related branches found
No related tags found
1 merge request
!183
Fix geoip-database-contrib
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/config
+1
-0
1 addition, 0 deletions
helpers/config
helpers/make-grub2
+3
-11
3 additions, 11 deletions
helpers/make-grub2
with
4 additions
and
11 deletions
helpers/config
+
1
−
0
View file @
359faf61
...
...
@@ -55,6 +55,7 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd
}
changelog
(){
head
-n
1 debian/changelog |
grep
-q
$UPSTREAM
-security
&&
REPO
=
$CODENAME
-security
||
REPO
=
$CODENAME
PKGVERSION
=
$(
dpkg-parsechangelog
--show-field
Version
)
echo
| dch
-D
$REPO
-v
${
PKGVERSION
}
+
${
REVISION
}
trisquel
${
VERSION
}
"
$1
"
# Make sure the changelog file is identical between archs
...
...
This diff is collapsed.
Click to expand it.
helpers/make-grub2
+
3
−
11
View file @
359faf61
#!/bin/sh
#
# Copyright (C) 2011 Rub
é
n Rodr
í
guez <ruben@trisquel.info>
# Copyright (C) 2011
-2016
Rub
e
n Rodr
i
guez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
5
VERSION
=
1
COMPONENT
=
main
.
./config
...
...
@@ -31,7 +31,7 @@ for i in install_efi_ubuntu_flavours.patch mkconfig_ubuntu_distributor.patch; do
done
#Allow passwords https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311302
sed
'/
^
CLASS/s/class os/class os --unrestricted/'
-i
util/grub.d/
10_linux.in
/bin/
sed
'/CLASS
=
/s/class os/class os --unrestricted/'
-i
util/grub.d/
*
debian/patches/mkconfig_other_inits.patch
replace
"with Linux"
"with Linux-Libre"
util
replace
"with Linux"
"with Linux-Libre"
debian
...
...
@@ -40,8 +40,6 @@ replace Ubuntu Trisquel .
replace ubuntu trisquel
.
find |grep ubuntu|xargs rename s/ubuntu/trisquel/
#sed 's/\(prefix=@prefix@\)/\1\nGRUB_CMDLINE_EXTRA=$( grep -q nomodeset \/proc\/cmdline \&\& echo nomodeset \|\| echo -n "" )/' util/grub.d/10_linux.in -i
cat
<<
EOF
>> debian/default/grub
# Trisquel comes without kernel recovery entries to improve security.
...
...
@@ -50,19 +48,13 @@ EOF
GRUBVERSION
=
$(
head
-n1
debian/changelog |/bin/sed
's/.*(//;s/).*//; s/[~+-].*//'
)
echo
$GRUBVERSION
echo
/bin/sed
"/GNU GRUB version/ s/PACKAGE_VERSION/
\"
$GRUBVERSION
\"
/"
-i
grub-core/normal/main.c
/bin/sed
"/GNU GRUB version/ s/PACKAGE_VERSION/
\"
$GRUBVERSION
\"
/"
-i
grub-core/normal/main.c
changelog
"Disable rescue mode by default, branding"
#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
# /dev is needed for KVM support
#mount none -t devtmpfs /dev || true
compile
#umount /dev
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