Commit Graph

2731 Commits

Author SHA1 Message Date
Wataru Ishida
b04e65f58a onlrfs: fix wrong commands used in '--install' command
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Wataru Ishida
2b2e777e1d onlrfs: add 'link' command to make a link in rootfs
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Wataru Ishida
b3703c2229 onlrfs: fix sshd permit root login setting
make it work even if 'PermitRootLogin' section is commented out in
the original sshd_config

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Wataru Ishida
2d7e127106 onlrfs: fix bug of '__rfs__' substitution
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Wataru Ishida
a75ec04b7b onlrfs: add an option to use existing rootfs
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Wataru Ishida
4f8c12b81e onlrfs: don't make 'debootstrap' and 'aptsources' mandatory
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Wataru Ishida
7ca1546162 onlrfs: use pivot_root instead of chroot when configuring packages
some packages need to see root filesystem mount point which isn't
visible in chroot env

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-10-04 18:40:47 +00:00
Jeffrey Townsend
e9b01aa03e Update config. 2019-09-27 23:01:48 +00:00
Carl D. Roth
e13ab6ad95 Clean up gitroot 2019-09-27 23:01:48 +00:00
Carl D. Roth
f2f76ca120 Refactor use of 'sudo -E' 2019-09-27 23:01:48 +00:00
Carl D. Roth
bd96aea470 refactor sudo invocations 2019-09-27 23:01:48 +00:00
Carl D. Roth
d51368debf Maybe export the environment to sudo 2019-09-27 23:01:48 +00:00
Carl D. Roth
c351a360ca Compute top-of-tree for docker volumes 2019-09-27 23:01:48 +00:00
Wataru Ishida
b1fdd9d054 onlrfs: more granular configuration knob
NO_DPKG_CONFIGURE is used inside x.configure() to skip
dpkg configure -a specifically

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
c8cebe81ad unshare process namespace when running setup scripts
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
a594ff8ba5 add --rm option to docker builder
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
9e3de2cdfd make dpkg-configure network reachable
some deb packages may use DNS(resolv.conf) for their configuration

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
204c4d6098 rfs: unshare process namespace for multistrap and dpkg-configure -a
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
03ffeab3fa rfs: pass env variables to scripts
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
0c8d66d967 onlpm: support more fpm options
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Wataru Ishida
3955bf2528 rfs: make sure /tmp is writable at the configuring stage
deb packages may wrongly make it unwritable

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-09-27 23:01:47 +00:00
Zi Zhou
16dc613601 Merge pull request #621 from zhouzi88/swl-5642
as7726 fan related bug fix
2019-09-18 14:38:29 -07:00
Zi Zhou
53c8824ce2 as7726 fan related bug fix 2019-09-18 11:27:41 -07:00
Zi Zhou
dd60fe16ee Merge pull request #614 from zhouzi88/swl-5644
SWL-5644 export SFP DOM content through optoe2 on sysfs for as7726
2019-09-12 10:53:48 -07:00
Zi Zhou
0b50cfaad3 SWL-5644 export SFP DOM content through optoe2 on sysfs for as7726 2019-09-11 18:07:24 -07:00
Jeffrey Townsend
55745e0e64 Correct CPLD addresses. 2019-09-07 13:57:50 +00:00
Jeffrey Townsend
af4cb523c6 Use correct CPLD addresses. 2019-09-07 13:54:46 +00:00
Jeffrey Townsend
bc1d3304ba Correct port config. 2019-09-06 20:28:41 +00:00
Jeffrey Townsend
f9798139e9 Recognize the FSF019 PSU. 2019-09-06 20:25:33 +00:00
Jeffrey Townsend
7bb76e6579 Fix unprintable model and serial numbers.
Some systems support model and serial numbers for their fans and psus but they might not be programmed correctly.
This fix uses the printable string datatype to make sure the result can be marshalled by other tools.
2019-08-30 16:55:59 +00:00
Jeffrey Townsend
812217a676 Latest 2019-08-30 16:55:26 +00:00
Jeffrey Townsend
e3dcc90b48 Merge pull request #606 from brandonchuang/as5916-54xks
Add support for YM-2851J PSU
2019-08-29 14:15:01 -07:00
Jeffrey Townsend
2501993eca Merge pull request #609 from linyutsung/master
Fix onlpd memory leakage for s9180 bmc enabled platform
2019-08-29 14:14:33 -07:00
Jeffrey Townsend
44d85db7f4 Merge pull request #608 from mshych/master
Add support of linux kernel 4.19 for all Mellanox switches.
2019-08-29 14:13:10 -07:00
Jeffrey Townsend
5bff916b31 8v89307 PLL init script. 2019-08-29 20:42:12 +00:00
Jeffrey Townsend
94b167d442 8v89307 custom PLL initialization. 2019-08-29 20:41:20 +00:00
Jeffrey Townsend
9f3d1e9112 The onlp_platform_default module must come last to satisfy the weak symbol processing in the static builds. 2019-08-28 19:20:56 +00:00
leo lin
a592ac17ac [s9180] fix onlpd memory leakage for bmc enabled platform 2019-08-28 08:10:18 +08:00
Michael Shych
12cf48658a Add support of linux kernel 4.19 for all Mellanox switches.
This commit includes:
   3 linux kernel patches that are backported from latest upstream kernel:
      1. Amendments, new systems support and fixes in mellanox platform drivers.
      2. New features, amendments in Mellanox switch drivers.
      3. Introduce new watchdog driver for Mellanox systems.
   Multiple changes in default kernel 4.19 config for x86_64 systems.

Signed-off-by: Michael Shych <michaelsh@mellanox.com>
2019-08-22 18:22:25 +03:00
Jeffrey Townsend
8ed833fb77 Fix file selection in onie_machine_get() for newer machine-build.conf location.
There are other locations for which also applies and should be cleaned up.
2019-08-21 22:28:36 +00:00
Jeffrey Townsend
a1a806e8e1 Add 4.19 kernel modules. 2019-08-21 21:16:52 +00:00
Jeffrey Townsend
349157ebfe PCA95x enabled. 2019-08-21 21:05:14 +00:00
Jeffrey Townsend
9fd0463aef Cleanup patches. 2019-08-21 21:02:02 +00:00
brandon_chuang
c3573cd514 [as5916-54xks] Add support for YM-2851J DC PSU 2019-08-21 14:33:31 +08:00
Jeffrey Townsend
53dc8fd8d5 Cleanup
- Remove toolchain settings
- Add new config options required for newer toolchains.
2019-08-20 17:32:08 +00:00
Jeffrey Townsend
da2caa45fa Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2019-08-19 19:03:00 +00:00
Jeffrey Townsend
c3b2f9dd8d Add kernel 4.19 to the ugprade package. 2019-08-19 19:02:17 +00:00
Jeffrey Townsend
f17bc298b5 Merge pull request #594 from jostar-yang/ir350a_20190731
Fix ir3570a i2c casue to read eeprom fail
2019-08-19 11:56:50 -07:00
Jeffrey Townsend
332702bcfc Merge pull request #602 from MellanoxBSP/onl_upstream_kpatch_31
Add patches for Mellanox:
2019-08-19 11:55:28 -07:00
Jeffrey Townsend
dc21cd945f Merge pull request #586 from MellanoxBSP/onl_mlnx_qsfp_fix
Fix SFP port count for MSN3800 system
2019-08-19 11:55:03 -07:00