Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
5e60c91a
Commit
5e60c91a
authored
Feb 05, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net-eth, mipsel-*: Add new target use/net-eth/dhcp/timeout/$TIMEOUT
Thanks for the idea Ivan A. Melnikov.
parent
06b67bd7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
config.mk
features.in/mipsel-bfk3/config.mk
+1
-1
config.mk
features.in/mipsel-mitx/config.mk
+1
-1
config.mk
features.in/net-eth/config.mk
+5
-0
50-net-eth
features.in/net-eth/rootfs/image-scripts.d/50-net-eth
+1
-5
No files found.
features.in/mipsel-bfk3/config.mk
View file @
5e60c91a
use/mipsel-bfk3: use/kernel use/tty/S0
use/mipsel-bfk3: use/kernel use/tty/S0
use/net-eth/dhcp/timeout/20
@$(call add_feature)
@$(call set,KFLAVOURS,bfk3-def)
@$(call set,VM_FSTYPE,ext2)
...
...
features.in/mipsel-mitx/config.mk
View file @
5e60c91a
use/mipsel-mitx: use/kernel use/tty/S0
use/mipsel-mitx: use/kernel use/tty/S0
use/net-eth/dhcp/timeout/20
@$(call add_feature)
@$(call set,KFLAVOURS,mitx-xpa)
@$(call add,THE_PACKAGES,alt-config-be-t)
...
...
features.in/net-eth/config.mk
View file @
5e60c91a
...
...
@@ -16,6 +16,11 @@ use/net-eth/networkd: use/net/networkd
# typical boilerplate
use/net-eth/dhcp: use/net-eth use/net/dhcp
@$(call add,NET_ETH,eth0:dhcp)
@$(call try,NET_ETH_TIMEOUT,7)
@$(call xport,NET_ETH_TIMEOUT)
use/net-eth/dhcp/timeout/%: use/net-eth/dhcp
@$(call set,NET_ETH_TIMEOUT,$*)
use/net-eth/networkd-dhcp: use/net-eth/networkd
@$(call add,NET_ETH,eth0:dhcp)
...
...
features.in/net-eth/rootfs/image-scripts.d/50-net-eth
View file @
5e60c91a
...
...
@@ -42,11 +42,7 @@ write_etcnet_iface() {
append
=
case
"
$proto
"
in
dhcp
)
if
[
$GLOBAL_ARCH
=
mipsel
]
;
then
append
=
"DHCP_TIMEOUT=20"
else
append
=
"DHCP_TIMEOUT=7"
fi
append
=
"DHCP_TIMEOUT=
$GLOBAL_NET_ETH_TIMEOUT
"
;;
static
)
echo
"
$ipv4addr
"
>
"
$dir
/ipv4address"
...
...
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