1 Reply Latest reply on Oct 21, 2016 10:58 AM by Intel Corporation

    Serial number-Debian

    xd11223

      Hello all:

      I tried to use the create_debian_image.sh in ww25.5-15 version to create debian image and build kernel.

      In post-install.service(/sbin/post-install.sh), the commad

       

      factory_partition () {

          #unmount factory partition

          systemctl stop factory.mount

       

       

          mkdir -p /factory

          mount /dev/disk/by-partlabel/factory /factory

          # test can fail if done during manufacturing

          if [ $? -ne 0 ];

          then

              mkfs.ext4 /dev/disk/by-partlabel/factory

              mount /dev/disk/by-partlabel/factory /factory

              echo "00:11:22:33:55:66" > /factory/bluetooth_address

              echo "VSPPYWWDXXXXXNNN" > /factory/serial_number

          fi

      }

       

      it seems not work in debian, every edison I always get FZEDA546D011SR501. this is not the real serial number.

      Are there any way could get the rel serial number on Debian?

       

      Thanks.