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
75cdb0ff
Commit
75cdb0ff
authored
7 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
make-linux changed to track abi changes
parent
5d546da1
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-linux
+20
-5
20 additions, 5 deletions
helpers/make-linux
with
20 additions
and
5 deletions
helpers/make-linux
+
20
−
5
View file @
75cdb0ff
...
...
@@ -51,11 +51,26 @@ rm ubuntu/vbox* -rf
sed
/vbox/d
-i
debian.master/info/RECONCILE debian.master/control.d/generic.inclusion-list ubuntu/Makefile
sed
'/vbox/d'
-i
debian.master/reconstruct
# Compile with less modules and avoid abi check
echo
'skipmodule = true'
>>
debian.master/rules.d/0-common-vars.mk
echo
'skipabi = true'
>>
debian.master/rules.d/0-common-vars.mk
echo
'skipmodule = true'
>>
debian/rules.d/0-common-vars.mk
echo
'skipabi = true'
>>
debian/rules.d/0-common-vars.mk
# The upstream release number for abi is on line 7 of the trisquel changelog, not 1.
#sed '/^release :=/s/1s/7s/' debian/rules.d/0-common-vars.mk -i
# For abi calculation, start counting from the previous release (upstream)
sed
'/^revisions :=/ s/tac/tail -n +3 | tac/'
debian/rules.d/0-common-vars.mk
-i
# But keep the trisquel version number for $revision
rpl
'revision ?= $(word $(words $(revisions)),$(revisions))'
'revision := $(shell sed -n "1 s/^$(src_pkg_name)\ .*($(release)-\(.*\)).*$$/\1/p" $(DEBIAN)/changelog)'
debian/rules.d/0-common-vars.mk
# Ignore the missing modules we remove
cat
<<
EOF
> debian.master/abi/
$(
ls
debian.master/abi/
-1
)
/modules.ignore
spl
splat
vboxguest
vboxsf
vboxvideo
zavl
zcommon
znvpair
zpios
zunicode
EOF
line
=
$(
grep
-n
')-Ubuntu'
debian/rules.d/0-common-vars.mk|cut
-d
:
-f1
)
sed
$(
expr
$line
- 1
)
,
$(
expr
$line
+ 1
)
d debian/rules.d/0-common-vars.mk
-i
...
...
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