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
547fc42f
Commit
547fc42f
authored
10 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
Improve haveged patch
parent
51c0ea90
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
patches/packages/openwrt/0001-haveged-start-directly-after-initial-setup-and-disable-tests.patch
+33
-0
33 additions, 0 deletions
...tart-directly-after-initial-setup-and-disable-tests.patch
with
33 additions
and
0 deletions
patches/packages/openwrt/0001-haveged-start-directly-after-initial-setup-and-d
on-t-run
-tests.patch
→
patches/packages/openwrt/0001-haveged-start-directly-after-initial-setup-and-d
isable
-tests.patch
+
33
−
0
View file @
547fc42f
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 26 Jul 2014 18:06:07 +0200
Subject: haveged: start directly after initial setup and d
on't run
tests
Subject: haveged: start directly after initial setup and d
isable
tests
diff --git a/utils/haveged/Makefile b/utils/haveged/Makefile
index 12a6237..e9ff3f1 100644
--- a/utils/haveged/Makefile
+++ b/utils/haveged/Makefile
@@ -41,8 +41,9 @@
define Package/libhavege
endef
CONFIGURE_ARGS+= \
- --enable-daemon=yes
- --enable-threads=no
+ --enable-daemon=yes \
+ --enable-threads=no \
+ --enable-olt=no
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
diff --git a/utils/haveged/files/haveged.init b/utils/haveged/files/haveged.init
index ce28e61..
aa8d3c7
100644
index ce28e61..
113d64f
100644
--- a/utils/haveged/files/haveged.init
+++ b/utils/haveged/files/haveged.init
@@ -1,
14
+1,
16
@@
@@ -1,
7
+1,
7
@@
#!/bin/sh /etc/rc.common
# Copyright (C) 2012 OpenWrt.org
...
...
@@ -15,13 +31,3 @@ index ce28e61..aa8d3c7 100644
HAVEGED_THRESHOLD=1024
HAVEGED_DCACHE=32
HAVEGED_ICACHE=32
+HAVEGED_TESTS_TOT=
+HAVEGED_TESTS_CONT=
start() {
- service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1
+ service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1 -o t${HAVEGED_TESTS_TOT}c${HAVEGED_TESTS_CONT}
}
stop() {
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