Jeffrey Townsend
a5ec39317e
Add new port config 48x25+4x100+2x200.
2018-11-05 15:56:27 +00:00
Jeffrey Townsend
f6e11cdecf
Merge pull request #428 from OrdnanceNetworks/onl-fixes
...
Assorted set of fixes and improvements to ONL
2018-10-09 12:35:38 -07:00
Jeffrey Townsend
fcd317b51b
Remove debug message.
2018-10-01 21:34:36 +00:00
Sergey Popovich
e2c1fcc335
initrds: ifup: Move NETRETRIES handling to "dhcp" code path
...
This variable is only required and used for dynamic network configs:
validating and configuring it for rest of the paths isn't necessary.
While there split warning message to two lines to make code and
runtime output more readable.
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-09-26 11:08:15 +03:00
Sergey Popovich
cdad662745
initrds: ifup: Do not apply any config if NETAUTO=none
...
There are three types of value accepted by NETAUTO:
1) "dhcp" for automatic network settings via DHCP
2) "up" to bring link up, wait for IPv6 tentative and link up
operstate
3) anything else: apply static configuration, wait for IPv6
tentative and link up operstate
Note that empty ("") value is subset of 3) and we only skip link up
operstate monitoring for it since commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.").
Add fourth case with NETAUTO=none to skip all but NETHW (hardware
address) from boot-config file and support different management
adapter config methods (e.g. Debian network config system).
This also fixes incorrect "return" statement usage outside of function
introduced with commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.") and adds
newline before wait_link_up() to make code more readable.
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-09-26 11:08:15 +03:00
Sergey Popovich
0106c6a542
onl-boot-config: Support empty NETAUTO
...
Since empty NETAUTO= in /mnt/onl/boot/boot-config is valud according to
rules in initramfs /boot/ifup, follow this behavior in onl-boot-config
to get rid of incorrect message:
root@localhost:/# onl-boot-config --show
NETDEV=ma1
BOOTMODE=INSTALLED
SWI=images::latest
NETAUTO=
The NETAUTO value '' is invalid.
The boot configuration has not been changed.
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-09-26 11:08:15 +03:00
Carl D. Roth
8ac2f0330b
Cleanup mount point usage
...
- cut down on nested mount invocations
2018-09-20 18:19:00 -07:00
Carl D. Roth
2cd5d8afe2
Cleanups for execute method
...
- support tuple arguments
- send stdout/stderr output to the logger
2018-09-20 18:18:55 -07:00
Carl D. Roth
4f5655060d
Fixed shell invocation bug in onie-sysinfo
2018-09-20 18:18:48 -07:00
Jeffrey Townsend
398084e525
Add python-netaddr dependency.
2018-08-16 21:46:04 +00:00
Carl D. Roth
a9074bd492
Speed optimizations
...
- don't mount the filesystem if it's already mounted
2018-07-25 23:36:14 +00:00
Jeffrey Townsend
3b46bd4b58
Merge pull request #401 from brandonchuang/as5916_26xb
...
Add new accton platform, AS5916-26XB.
2018-07-18 11:26:17 -07:00
Ed Swarthout
68a3487365
mmc_bootcmds: mmc part does not take a param
...
Signed-off-by: Ed Swarthout <Ed.Swarthout@nxp.com >
2018-07-03 19:22:24 -05:00
brandonchuang
29c198ce2b
Merge branch 'master' into as5916_26xb
2018-06-25 09:04:09 +08:00
Jeffrey Townsend
37b77d63a6
Merge pull request #395 from ishidawataru/systemd
...
Support building systemd based system
2018-06-19 15:45:46 -07:00
Jeffrey Townsend
53b55910c7
Add 4.4 LTS ARM kernel.
2018-06-18 21:34:05 +00:00
brandonchuang
b67df2def1
Add new accton platform, AS5916-26XB.
2018-06-07 10:42:13 +08:00
Jeffrey Townsend
6697ea1a52
Redirect stderr.
2018-06-04 21:14:27 +00:00
Jeffrey Townsend
2c5f7334e1
Collect output from modprobe.
2018-06-04 08:56:52 -07:00
Wataru Ishida
a681cf6c81
Support building systemd based system
...
Signed-off-by: Wataru Ishida <ishida@nel-america.com >
2018-05-31 19:41:23 -07:00
Jeffrey Townsend
8168fdc1cf
Merge pull request #392 from carlroth/master
...
Suppress dmidecode warnings for KVM systems
2018-05-29 13:12:52 -07:00
Carl D. Roth
3b28243ccb
Suppress dmidecode warnings for KVM systems
2018-05-24 13:27:55 -07:00
Jeffrey Townsend
3a6f48f880
Merge pull request #385 from zhouzi88/swl-4496
...
support S4112F
2018-05-15 13:46:30 -07:00
Zi Zhou
c4fa324fee
support S4112F
2018-05-11 13:19:50 -07:00
Carl D. Roth
e9c760edd2
Fixed broken loader upgrade
...
- too many nested chroots
- update loader system query to use a proper onie-sysinfo call
2018-05-02 16:42:08 -07:00
Carl D. Roth
9b282495fa
Better support for UEFI
...
- throw a proper error if we cannot find the ESP partition
- don't forget to parse the GPT first before starting the ESP search
2018-05-02 16:41:04 -07:00
Carl D. Roth
e09559d6dc
load the efivarfs filesystem if needed
2018-05-02 16:39:59 -07:00
Carl D. Roth
7b7fef083a
load the efivarfs module if possible
2018-05-02 16:38:20 -07:00
Carl D. Roth
d39868c23b
load the efivarfs module if possible
2018-05-02 16:38:14 -07:00
Jeffrey Townsend
d66cceee0e
Rename the 4.9-arm64-all kernel to 4.9-lts-arm64-all to confirm the the existing nameing conventions.
2018-04-26 17:32:04 +00:00
Jeffrey Townsend
a91f3d7e8f
Merge branch 'add-arm64-lts4.9-and-nxp-layerscape-platforms' of github.com:shengzhou/OpenNetworkLinux
2018-04-26 06:53:08 -07:00
Jeffrey Townsend
a97785c10b
Add a silent option while running the upgrade steps.
2018-04-24 18:32:12 +00:00
Jeffrey Townsend
a4492c87d6
New sysconfig option which skips the execution of the upgrade steps at boot time.
2018-04-24 17:20:49 +00:00
Jeffrey Townsend
50878146fd
Better output for scalar values.
2018-04-24 17:20:10 +00:00
Shengzhou Liu
9e464d2075
Upgrade to kernel lts-4.9.75 for arm64 platforms
...
Signed-off-by: Guo Hanyue <guo.hanyue@nxp.com >
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com >
2018-04-24 13:46:30 +08:00
Jeffrey Townsend
6ca7b8f423
Add 4.14
2018-04-18 16:49:03 +00:00
Jeffrey Townsend
736eeadb4d
Use onldebni to automatically run debian operations non-interactively under policy-rc.d protection.
...
This is useful for automated RFS modifications after first creation.
2018-04-15 22:41:28 +00:00
Jeffrey Townsend
15520e4dd6
Remove accidental changes.
2018-04-12 15:04:08 -07:00
Jeffrey Townsend
0012b203db
If the first blkid lookup fails we can't take an exception if the following ubi lookup also fails.
2018-04-12 17:49:57 +00:00
Jeffrey Townsend
0d96386d95
Merge pull request #315 from DeltaProducts/ag6248-feb-12
...
add platform support for ag6248c and ag6248c_poe
2018-04-04 08:35:14 -07:00
Jeffrey Townsend
41bf6970e5
Add option for local script execution during autoboot.
2018-04-02 18:54:54 +00:00
shaohua.xiong
65cd247a0a
add platform support for ag6248c and ag6248c_poe
2018-02-23 16:25:05 +08:00
Jeffrey Townsend
6aa99a1179
Merge pull request #303 from carlroth/master
...
Support local file paths with colons
2018-02-03 07:02:06 -08:00
Carl D. Roth
e8fb96d1ff
Support local file paths with colons
2018-02-02 19:28:34 -08:00
Wilson Ng
d570011c62
Add setters and getters for dns server and domain in OnlBootConfig.
2018-01-22 19:08:26 -08:00
Jeffrey Townsend
033587441e
The blkids must be walked prior to attempting to save the config partition (msdos only).
2018-01-20 19:20:23 +00:00
Carl D. Roth
6aadd03984
Clean up platform detection
...
- export /etc/machine.conf settings to installer.conf
- better handling of machine.conf bits during onie chroots (debug)
2018-01-03 16:34:27 -08:00
Carl D. Roth
8e31b248e9
Updated comment
2017-12-26 17:48:26 -08:00
Carl D. Roth
7550367afb
Platform ident should use onie-sysinfo
2017-12-26 17:48:08 -08:00
Carl D. Roth
1fdf13b506
Loader should use onie-sysinfo
2017-12-26 17:47:58 -08:00