Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
firmware
FFS Gluon
Commits
a6ae2786
Commit
a6ae2786
authored
11 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
Make patch generation deterministic
parent
1cc09485
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
patches/openwrt/0001-Make-Unifi-images-flashable.patch
+1
-10
1 addition, 10 deletions
patches/openwrt/0001-Make-Unifi-images-flashable.patch
scripts/update-patches.sh
+6
-3
6 additions, 3 deletions
scripts/update-patches.sh
with
7 additions
and
13 deletions
patches/openwrt/0001-Make-Unifi-images-flashable.patch
+
1
−
10
View file @
a6ae2786
From e541a190d4f54d35043a804f42af746793181405 Mon Sep 17 00:00:00 2001
Message-Id: <e541a190d4f54d35043a804f42af746793181405.1388240789.git.mschiffer@universe-factory.net>
From: Matthias Schiffer <mschiffer@universe-factory.net>
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Fri, 27 Dec 2013 18:48:19 +0100
Date: Fri, 27 Dec 2013 18:48:19 +0100
Subject: [PATCH] Make Unifi images flashable
Subject: Make Unifi images flashable
---
target/linux/ar71xx/image/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 9ebe486..8e82f7f 100644
index 9ebe486..8e82f7f 100644
...
@@ -23,6 +17,3 @@ index 9ebe486..8e82f7f 100644
...
@@ -23,6 +17,3 @@ index 9ebe486..8e82f7f 100644
$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRG301N,whr-g301n,WHR-G301N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-G301N))
$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRG301N,whr-g301n,WHR-G301N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-G301N))
$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRHPG300N,whr-hp-g300n,WHR-HP-G300N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-HP-G300N))
$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRHPG300N,whr-hp-g300n,WHR-HP-G300N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-HP-G300N))
--
1.8.5.2
This diff is collapsed.
Click to expand it.
scripts/update-patches.sh
+
6
−
3
View file @
a6ae2786
...
@@ -7,9 +7,12 @@ shopt -s nullglob
...
@@ -7,9 +7,12 @@ shopt -s nullglob
for
module
in
$GLUON_MODULES
;
do
for
module
in
$GLUON_MODULES
;
do
dir
=
"
$1
"
/
$module
dir
=
"
$1
"
/
$module
git
-C
"
$dir
"
checkout patched
rm
-f
"
$1
"
/patches/
$module
/
*
.patch
rm
-f
"
$1
"
/patches/
$module
/
*
.patch
mkdir
-p
"
$1
"
/patches/
$module
mkdir
-p
"
$1
"
/patches/
$module
git
-C
"
$dir
"
format-patch
-o
"
$1
"
/patches/
$module
base
n
=
0
for
commit
in
$(
git
-C
"
$dir
"
rev-list
--reverse
--no-merges
base..patched
)
;
do
let
n
=
n+1
git
-C
"
$dir
"
show
--pretty
=
format:
'From: %an <%ae>%nDate: %aD%nSubject: %B'
$commit
>
"
$1
"
/patches/
$module
/
"
$(
printf
'%04u'
$n
)
-
$(
git
-C
"
$dir
"
show
-s
--pretty
=
format:%f
)
.patch"
done
done
done
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