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
ed45b9ff
Commit
ed45b9ff
authored
2 years ago
by
Luis Guzmán
Browse files
Options
Downloads
Patches
Plain Diff
grub2-unsigned: fix patch changes on update.
parent
306d4729
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/config
+4
-1
4 additions, 1 deletion
helpers/config
helpers/make-grub2-unsigned
+5
-5
5 additions, 5 deletions
helpers/make-grub2-unsigned
with
9 additions
and
6 deletions
helpers/config
+
4
−
1
View file @
ed45b9ff
...
@@ -269,4 +269,7 @@ else
...
@@ -269,4 +269,7 @@ else
fi
fi
}
}
remove_patch
(){
rm
"
$(
find debian/patches
-name
"
$1
"
)
"
sed
-i
"/
$1
/d"
debian/patches/series
}
This diff is collapsed.
Click to expand it.
helpers/make-grub2-unsigned
+
5
−
5
View file @
ed45b9ff
...
@@ -35,10 +35,7 @@ done
...
@@ -35,10 +35,7 @@ done
#sed '/dosfstools/d' -i debian/control
#sed '/dosfstools/d' -i debian/control
sed
'/mkfs.minix/s/-B $BLKSIZE//g'
-i
tests/util/grub-fs-tester.in
sed
'/mkfs.minix/s/-B $BLKSIZE//g'
-i
tests/util/grub-fs-tester.in
for
i
in
install-efi-ubuntu-flavours.patch mkconfig-ubuntu-distributor.patch
;
do
remove_patch mkconfig-ubuntu-distributor.patch
rm
debian/patches/
$i
sed
/
$i
/d debian/patches/series
-i
done
#Prevent to built grub2-unsigned on armhf and ppc64el arch
#Prevent to built grub2-unsigned on armhf and ppc64el arch
sed
-i
"/Architecture:/s|any-arm
$|
armel|g;s|any-arm |armel|g"
debian/control
sed
-i
"/Architecture:/s|any-arm
$|
armel|g;s|any-arm |armel|g"
debian/control
...
@@ -51,9 +48,11 @@ sed -i '/Package: grub-common/,/Built-Using:/s|Architecture: any|Architecture: a
...
@@ -51,9 +48,11 @@ sed -i '/Package: grub-common/,/Built-Using:/s|Architecture: any|Architecture: a
replace
"with Linux"
"with Linux-Libre"
util
replace
"with Linux"
"with Linux-Libre"
util
replace
"with Linux"
"with Linux-Libre"
debian
replace
"with Linux"
"with Linux-Libre"
debian
replace
"Linux"
"Linux-Libre"
po
replace
"Linux"
"Linux-Libre"
po
replace Kubuntu Triskel
.
replace Ubuntu Trisquel
.
replace Ubuntu Trisquel
.
replace kubuntu triskel
.
replace ubuntu trisquel
.
replace ubuntu trisquel
.
find |grep ubuntu|xargs rename s/ubuntu/trisquel/
find |grep ubuntu|xargs rename s/ubuntu/trisquel/
g
#Avoid the use of signed grub efi package
#Avoid the use of signed grub efi package
sed
-i
'/Recommends:/s|grub-efi-amd64-signed|grub-efi-amd64|'
debian/control
sed
-i
'/Recommends:/s|grub-efi-amd64-signed|grub-efi-amd64|'
debian/control
...
@@ -66,3 +65,4 @@ sed -i '/set -e/aexit 77' tests/grub_cmd_set_date.in
...
@@ -66,3 +65,4 @@ sed -i '/set -e/aexit 77' tests/grub_cmd_set_date.in
changelog
"skip test grub_cmd_set_date.in"
changelog
"skip test grub_cmd_set_date.in"
compile
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