Commit Graph

45 Commits

Author SHA1 Message Date
Kebo Liu
fd5a3cf6fb [console speed] Inherit console speed from install environment ()
* pick up console speed from install enviroment

* get console speed from /proc/cmdline

* add CONSOLE_PORT handle
2018-09-01 13:30:31 -07:00
lguohan
38f3eba695
[kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1) ()
* [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1)

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mellanox]: Update SDK pointer for 4.9.0-7 kernel ()

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>

* Update arista drivers for 4.9.0-7 linux kernel ()
2018-08-16 08:56:56 -07:00
lguohan
35ab7a6e09 [kernel]: upgrade linux kernel to 4.9.0-5 (4.9.65-3+deb9u2) () 2018-08-11 09:09:03 +00:00
Guohan Lu
dabbe63f99 [baseimage]: Disable consistent network device naming
consistent network device naming is enabled in debian 9 kernel by default
2018-08-11 09:07:59 +00:00
Guohan Lu
ff1f508f33 [baseimage]: use debian 4.9.0-3 kernel 2018-08-11 09:07:59 +00:00
Qi Luo
c29def6379 [installer]: Umount before delete partition ()
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-09 23:51:43 -07:00
Qi Luo
4754b43d7c [installer]: Suppress tar xz warning about time stamp in the future, if date is not correctly set ()
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-04 23:42:11 -07:00
lguohan
1051d82ebc
Revert "[installer]: Suppress tar xz warning about time stamp in the future, if date is not correctly set ()" ()
This reverts commit 0996356521.
2018-04-04 23:22:57 -07:00
Qi Luo
0996356521 [installer]: Suppress tar xz warning about time stamp in the future, if date is not correctly set ()
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-04 22:01:31 -07:00
lguohan
d66e79d702
[installer]: remove single quotes around the value when create machine.conf ()
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-03-30 11:37:59 -07:00
lguohan
56efb41f55
[image]: remove quote for build_version in /etc/sonic/sonic_version.yml ()
commit 0965b33 added quote to build_version in /etc/sonic/sonic_version.yml,
e.g., sonic_version : '20170104.10'. scripts to use the $sonic_version need
to remove the quote.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-03-19 00:53:47 -07:00
lguohan
15cd34f03c
[installer]: support new onie machine.conf format ()
* [installer]: support new onie machine.conf format

onie_* variable are generated at runtime in /etc/machine.conf.
We can no longer copy the static machine.conf into sonic image.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-03-17 18:31:18 -07:00
Joe LeVeque
d844accb59
[install.sh] Don't treat failure to install image with same version as running SONiC image as an error () 2018-02-12 15:34:54 -08:00
Qi Luo
358949b4e5
Upgrade linux-image version ()
* Upgrade linux-image version
* Add missing dependency of igb
* Fix mft build rule
* Add missing dependency of ixgbe
* [Broadcom]: Update OpenNSL modules to be compatible with kernel 3.16.0-5 ()
* [Nephos] Update SDK version to support new kernel module 3.16.0-5 ()
* [mellanox]: Update URL for SDK ()
2018-01-31 11:39:48 -08:00
pavel-shirshov
b2109b0cec
Disable autosuspend for USB devices, preventing usb drives to be stopped and then renamed () 2018-01-03 12:20:19 -08:00
Polly Hsu
a99b5e9e29 [installer] FIX. ONIE installer error issue: ()
* [installer] FIX. ONIE installer error issue:

mv: can't rename '//tmp/onie-support.tar.bz2': No such file or directory
2017-11-15 15:41:15 -08:00
padmanarayana
6935e00909 [build/onie installer] Install grub for SONiC post migration from another NOS ()
* Install grub for SONiC post migration from another NOS

* Install grub from bundled debian package instead of using ONIE's. Address review comments
2017-09-17 11:41:29 -07:00
lguohan
116ba4b180 [baseimage]: allocate varlog disk in the initramfs stage ()
moving to initramfs unifies disk allocate on different platforms.
use fallocate instead of dd to speed up the disk allocation.

By default, mkfs.ext4 has -E discard option which discards the blocks
at the mkfs time, also speed up the initialization time.
2017-09-06 20:07:32 -07:00
padmanarayana
2d3b064437 [image]: build sonic-broadcom.raw image for sonic conversion from ftos ()
1. "make target/sonic-broadcom.raw" will create the compressed dd'able image.
2. This will also update the grub config files (device/dell/*/nos_to_sonic_grub.cfg) with the image versions.
2017-08-27 20:13:38 -07:00
lguohan
2f231f3653 [image]: expand dockerfs.tar.gz directly on to disk without intermediate file () 2017-06-18 15:52:49 -07:00
lguohan
7472cd303e [image]: load platform specific settings in sonic-to-sonic upgrade () 2017-06-16 00:05:41 -07:00
lguohan
0104dbbf9f [image]: add --numeric_owner to perserve the original owner of the for docker filesystem () 2017-05-24 12:49:19 -07:00
Marian Pritsak
035b08b9c4 [installer]: Add support for grub-set-default. ()
Its needed for  for user to set default image for boot.

grub-set-default utility writes to value of saved_entry variable to grubenv.
https://www.gnu.org/software/grub/manual/legacy/Invoking-grub_002dset_002ddefault.html
This patch provides support for grub-set-default to allow user choose a default image to boot from.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-25 06:53:17 -07:00
Andriy Moroz
b549adc36c [image]: SONiC-to-SONiC update () 2017-04-21 17:23:36 -07:00
lguohan
9a4b0adcc7 [build]: use short disk label () 2017-04-19 00:55:22 -07:00
lguohan
803c530adf [installer]: remove dockerfs archive file after unzip () 2017-04-05 14:32:03 -07:00
Joe LeVeque
423a1acac1 [installer]: Move platform-specific files under new device/ tree ()
* Move platform-specific ONIE installer config files with rest of device-specific files
* Merge contents of dell-s6000-replace-reboot.sh into s6000 installer conf file
* Remove dell-s6000-replace-reboot.sh
2017-03-29 04:17:49 -07:00
Min Yao
b9c624520e Support centec platform () 2017-03-04 02:17:38 -08:00
kaiyu22
b5f9fcae99 [platform]: ingrasys-s9100: Add ingrasys switch s9100 ()
Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-02-22 02:15:39 -08:00
lguohan
81d7119c57 [platform]: change baudrate for wedge100 platform () 2017-02-18 14:10:13 -08:00
Marian Pritsak
f9f31ed296 [installer]: limit size of /var/log ()
Create loop device during installation of
size soecified in config file for machine

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-02-16 23:28:09 -08:00
lguohan
e439ee3152 [installer]: add console override for z9100 () 2017-02-14 18:51:24 -08:00
lguohan
8826beb597 [docker]: change hardcoded value to DOCKERFS_DIR for docker directory on the disk () 2017-02-06 08:17:16 -08:00
Oleksandr Ivantsiv
f2eed8f8a0 Added support of ONIE version 2016.11-5.1.0001 for Mellanox platforms. () 2017-01-29 11:34:12 -08:00
Oleksandr Ivantsiv
34ea91349c one image implementation ()
* Single image

* Fix review comments

* Update syncd service. Add HW mgmt to Mellanox single image.

* Add single image template for Broadcom platform.

SKU should be provided during configure:
make configure PLATFORM=broadcom SKU=Force10-S6000

* Add single image template for Cavium platform.

SKU should be provided during configure:
make configure PLATFORM=cavium SKU=AS7512

* Add description to sonic_debian_extension.j2 file.
2017-01-29 11:33:33 -08:00
Nadiya
0532ee4ed6 platform: Cavium serial settings change ()
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2016-11-23 13:47:19 -08:00
lguohan
d45ff354e2 check the existence of platforms/ before including it () 2016-10-21 00:29:27 -07:00
Qi Luo
7b0b44ef12 (comment) 2016-09-14 17:08:05 -07:00
Qi Luo
20d1ed42d5 Manually sync disk to prevent hardware reboot lost 2016-09-14 15:30:34 -07:00
Guohan Lu
c14bfde3c0 PR 50464: remove timestamp from sonic disk partition label
- remove timestamp from sonic disk partition label

Ext2 filesystem labels can be at most 16 characters long

Related work items: 
2016-09-14 15:30:18 -07:00
Qi Luo
cc7f15094c Squashed merge master 2016-09-09 17:53:41 -07:00
Guohan Lu
06ed5f61f7 PR 50374: bug fix: fix legacy partition name from ACS_OS to ACS-OS
- bug fix: fix legacy partition name from ACS_OS to ACS-OS
2016-09-09 17:53:10 -07:00
John Arnold (AZURE)
4843e0671f Changed ACS references to SONiC in image, added timestamp to base image volume label 2016-09-07 18:36:14 -07:00
Qi Luo
a79966998a Squash merge latest code to github branch 2016-07-26 12:01:58 -07:00
Qi Luo
8228558d38 New release v1.0.0 2016-03-08 11:42:20 -08:00