-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does sonic support new format of /etc/machine.conf which is from ONIE? #1404
Comments
@fillmorechen0928, can you dump |
Dear lguohan, Please refer to the attached files. |
Can you load the PR build image to test? You need to use onie installer to install the new image. In the new image, it will have static machine.conf under /host directory, and then you can upgrade to a newer image using sonic to sonic upgrade. |
I don't know how to get PR build image? Currently, we only use this command to get latest code of sonic. |
Any SOP ? We use use this command to get latest code of sonic. Then we add our modified files to build image. |
In case you need to build your own, then can you take the patch in PR #1468 |
Dear lguohan, We verify the patch in PR #1468 on our device is correct. The sonic_installer command can install sonic image successfully. Thanks for your help. |
/host/machine.conf is incorrent for other application. Please remove quote. |
Original /host/machine.conf: onie_version=master-201802221653.0.1-dirty Current /host/machine.conf: Please remove quote. It cause path add more quotes for other APP in SONIC. |
ONIE page description about machine.conf:
https://opencomputeproject.github.io/onie/developers/multiple_cpu.html
======================================================
It cause sonic_installer fail to install sonic image.
root@sonic:/tmp# sonic_installer install ./sonic-broadcom.bin
New image will be installed, continue? [y/N]: y
Command: ././sonic-broadcom.bin
/tmp/tmp.ISY9gRmCsy/installer/install.sh: 8: .: Can't open /etc/machine-build.conf
Verifying image checksum ... OK.
Preparing image archive ... OK.
Installing SONiC in SONiC
ONIE Installer: platform: x86_64-broadcom-r0
root@sonic:/tmp#
The text was updated successfully, but these errors were encountered: