Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
6c987510
Commit
6c987510
authored
Jan 03, 2013
by
Andy Whitcroft
Committed by
Tim Gardner
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBUNTU: [debian] insertchanges -- fix to work across major version changes
Signed-off-by:
Andy Whitcroft
<
apw@canonical.com
>
parent
b4757501
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
debian/rules.d/0-common-vars.mk
debian/rules.d/0-common-vars.mk
+2
-0
debian/rules.d/1-maintainer.mk
debian/rules.d/1-maintainer.mk
+1
-2
No files found.
debian/rules.d/0-common-vars.mk
View file @
6c987510
...
@@ -11,6 +11,8 @@ revision ?= $(word $(words $(revisions)),$(revisions))
...
@@ -11,6 +11,8 @@ revision ?= $(word $(words $(revisions)),$(revisions))
prev_revisions
:=
$(
filter-out
$(revision)
,0.0
$(revisions)
)
prev_revisions
:=
$(
filter-out
$(revision)
,0.0
$(revisions)
)
prev_revision
:=
$(
word
$(
words
$(prev_revisions)
)
,
$(prev_revisions)
)
prev_revision
:=
$(
word
$(
words
$(prev_revisions)
)
,
$(prev_revisions)
)
prev_fullver
?=
$(
shell
dpkg-parsechangelog
-l
$(DEBIAN)
/changelog
-o1
-c1
|
sed
-ne
's/^Version: *//p'
)
family
=
ubuntu
family
=
ubuntu
# This is an internally used mechanism for the daily kernel builds. It
# This is an internally used mechanism for the daily kernel builds. It
...
...
debian/rules.d/1-maintainer.mk
View file @
6c987510
...
@@ -88,10 +88,9 @@ printenv:
...
@@ -88,10 +88,9 @@ printenv:
@
echo
"arch =
$(arch)
"
@
echo
"arch =
$(arch)
"
@
echo
"kmake =
$(kmake)
"
@
echo
"kmake =
$(kmake)
"
prev_release
=
"
$(release)
-
$(prev_revision)
"
printchanges
:
printchanges
:
@
baseCommit
=
$$
(
git log
--pretty
=
format:
'%H %s'
|
\
@
baseCommit
=
$$
(
git log
--pretty
=
format:
'%H %s'
|
\
awk
'/UBUNTU: '
".*Ubuntu-
$(prev_
release
)
"
'$$/ { print $$1; exit }'
)
;
\
awk
'/UBUNTU: '
".*Ubuntu-
$(prev_
fullver
)
"
'$$/ { print $$1; exit }'
)
;
\
git log
"
$$
baseCommit"
..HEAD |
\
git log
"
$$
baseCommit"
..HEAD |
\
perl
-w
-f
$(DROOT)
/scripts/misc/git-ubuntu-log
$(ubuntu_log_opts)
perl
-w
-f
$(DROOT)
/scripts/misc/git-ubuntu-log
$(ubuntu_log_opts)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment