sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
742 stars 1.43k forks source link

'=' being inserted by install script when executing onie-nos-install #19850

Open evan-senter opened 3 months ago

evan-senter commented 3 months ago

machine-conf.zip

Briefly describe the problem you are having in a few paragraphs:

Hello, I've been attempting to install several builds including the latest master onto a QuantaMesh T7032-IX7D. After executing the onie-nos-install, a message appears indicating that '/etc/machine-build.conf=' cannot be found.

I have tested with latest, 202311, 202305 and a locally built version of 202205 with the same result. I've attached the machine*.conf files to this issue.

Steps to reproduce the issue:

  1. Enter ONIE Installation mode on switch
  2. Run onie-nos-install sonic-broadcom.bin
  3. Error message appears

Describe the results you received:

From the serial console of the switch ONIE:/tmp/usb # onie-nos-install sonic-broadcom.bin discover: installer mode detected. Stopping: discover... done. ONIE: Executing installer: sonic-broadcom.bin Verifying image checksum ... OK. Preparing image archive ... OK. Installing SONiC in ONIE ONIE Installer: platform: x86_64-broadcom-r0 /tmp/tmp.sRiOnh/installer/install.sh: .: line 1: can't open '/etc/machine-build.conf=' Failure: Unable to install image: sonic-broadcom.bin ONIE:/tmp/usb #

Describe the results you expected:

Successful installation

Output of show version:

n/a

Output of show techsupport:

n/a

Additional information you deem important (e.g. issue happens only occasionally):

zjswhhh commented 3 months ago

@evan-senter - is this machine build conf file owned by you or? meaning is this platform specific?