demo os: fix mounting of demo partition

Reviewed By: Will_Kuo@alphanetworks.com

Commit 6d7cc40213cba8d5a5e63f6958a0220b92d1f791 broke the ability of
the demo OS to mount the "DEMO" partition.  This was broken for all
x86 platforms.

This patch restores the mounting of the ONIE demo OS partition on
/boot at demo boot time.

Instead of relying on the old rc.local mechanism, move the mount
script to /etc/rcS.d/S05mount-demo.sh for x86 platforms.

Testing Done:

Built ONIE and DEMO-OS images for the kvm_x86_64 machine and verified
that when the demo OS boots the ONIE-DEMO-OS partition is mounted:

  KVM_X86_64-OS:/etc/rcS.d # blkid
  /dev/vda3: LABEL="ONIE-DEMO-OS" UUID="c05da06a-151b-4659-bd1b-6785b3f23248"
  /dev/vda2: LABEL="ONIE-BOOT" UUID="db340634-168d-4d86-ba8a-9236d0f815c3"
  KVM_X86_64-OS:/etc/rcS.d # df
  Filesystem           1K-blocks      Used Available Use% Mounted on
  tmpfs                    10240        12     10228   0% /run
  tmpfs                    10240         0     10240   0% /run/lock
  tmpfs                   253288         0    253288   0% /tmp
  tmpfs                   253288         0    253288   0% /var/tmp
  tmpfs                   253288         0    253288   0% /run/shm
  /dev/vda2               122835     12107    101554  11% /mnt/onie-boot
  /dev/vda3               122835     11813    101848  10% /boot
Force statically configured eth mgmt interfaces up

Reviewed By: david_yang <david_yang@accton.com>

For development purposes you can statically configure the Ethernet
management interface by setting the "ip=" kernel command line option.
See kernel/linux/Documentation/filesystems/nfs/nfsroot.txt for more on
that.

ONIE had a bug where statically configured eth mgmt interfaces were
being left administratively down.

This patch puts the static configuration method on equal footing with
the other dynamic configuration methods, like the DHCPv4 and fall back
IP methods.  With this change, statically configured interfaces are
brought administratively up as part of the natural configuration flow.

Testing Done:

Built images for kvm_x86_64 and fsl_p2020rdbpca.

On x86 set the ip= kernel command line option from the GRUB menu.
Verified when the machine booted that eth0 was up and configured as
specified.

On PowerPC added the ip= kernel command line option using the
$onie_debugargs variable.  Then booted into ONIE rescue mode.
Verified when the machine booted that eth0 was up and configured as
specified.
Accton AS5710_54X: Add to support ONIE

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
crosstool-NG: Make linux-custom be able to apply patches

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
crosstool-NG: Add patch to fix install_headers argument too long for linux-fsl-sdk-v1.5

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Add Alpha Networks SNX60A0-486F to support ONIE.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>