README: refer to toolchain-layer in meta-openembedded
[glsdk/meta-ti-glsdk.git] / recipes-ti / beagleboard / gadget-init / update-image-info-on-mmcblk0p1.sh
1 #!/bin/sh
2 mount /dev/mmcblk0p1 /mnt
3 echo "Image info snapshot" > /mnt/info.txt
5 echo >> /mnt/info.txt
6 echo "/etc/angstrom-version:" >> /mnt/info.txt
7 cat /etc/angstrom-version >> /mnt/info.txt
9 echo >> /mnt/info.txt
10 echo "/proc/cpuinfo:" >> /mnt/info.txt
11 cat /proc/cpuinfo >> /mnt/info.txt
13 echo >> /mnt/info.txt
14 echo "uname -a:" >> /mnt/info.txt
15 uname -a >> /mnt/info.txt
17 echo >> /mnt/info.txt
18 echo "/proc/cmdline:" >> /mnt/info.txt
19 cat /proc/cmdline >> /mnt/info.txt
21 echo >> /mnt/info.txt
22 echo "ifconfig:" >> /mnt/info.txt
23 ifconfig >> /mnt/info.txt
25 echo >> /mnt/info.txt
26 echo "/etc/angstrom-build-info:" >> /mnt/info.txt
27 cat /etc/angstrom-build-info >> /mnt/info.txt
29 echo >> /mnt/info.txt
30 echo "/etc/image-version-info:" >> /mnt/info.txt
31 cat /etc/image-version-info >> /mnt/info.txt
33 echo >> /mnt/info.txt
34 echo "opkg list-installed:" >> /mnt/info.txt
35 opkg list-installed >> /mnt/info.txt
37 umount /mnt