naguirre wrote: > ...Setting up an ubuntu 10.04 is not so easy these days, so i setup a > Docker for it. You can find it here with few more fixes. > https://github.com/naguirre/squeezeos/tree/dev/nae/docker
This was not working for me for the longest time. I was getting the following error: Code: -------------------- NOTE: Running task 587 of 1140 (ID: 5, /home/squeezeos/poky/meta-squeezeos/packages/images/squeezeos-image.bb, do_configure) NOTE: package squeezeos-image-1.0: started NOTE: package squeezeos-image-1.0-r1: task do_configure: started fatal: Not a git repository (or any parent up to mount parent /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ERROR: function do_configure failed ERROR: log data follows (/home/squeezeos/poky/build/tmp-baby/work/baby-none-linux-gnueabi/squeezeos-image-1.0-r1/temp/log.do_configure.29941) | /home/squeezeos/poky/build/tmp-baby/work/baby-none-linux-gnueabi/squeezeos-image-1.0-r1/temp/run.do_configure.29941: line 202: syntax error near unexpected token `>>' NOTE: Task failed: /home/squeezeos/poky/build/tmp-baby/work/baby-none-linux-gnueabi/squeezeos-image-1.0-r1/temp/log.do_configure.29941 NOTE: package squeezeos-image-1.0-r1: task do_configure: failed ERROR: TaskFailed event exception, aborting -------------------- Looking at /home/squeezeos/poky/build/tmp-baby/work/baby-none-linux-gnueabi/squeezeos-image-1.0-r1/temp/run.do_configure.29941, the following function was defined on line 199: Code: -------------------- squeezeos_version() { echo "7.8.0 r15953" > /home/squeezeos/poky/build/tmp-baby/rootfs/etc/squeezeos.version echo `whoami`@`hostname` `date` >> /home/squeezeos/poky/build/tmp-baby/rootfs/etc/squeezeos.version echo "Base build revision: " <unknown> >> /home/squeezeos/poky/build/tmp-baby/rootfs/etc/squeezeos.version } -------------------- Aha, the above "<unknown>" abuses echo too much, causing the ">>" to fail. This "run.do_configure.#" is created by /poky/meta-squeezeos/classes/squeezeos-upgrade-image.bbclass Code: -------------------- squeezeos_version() { echo "${DISTRO_RELEASE} r${@squeezeos_squeezeplay_revision(d)}" > ${IMAGE_ROOTFS}/etc/squeezeos.version echo `whoami`@`hostname` `date` >> ${IMAGE_ROOTFS}/etc/squeezeos.version echo "Base build revision: " ${METADATA_REVISION} >> ${IMAGE_ROOTFS}/etc/squeezeos.version } -------------------- Where ${METADATA_REVISION} is generated in poky/meta/classes/base.bbclass base_detect_revision, which returns "<unknown>". The problem here is that this string, if not quoted, interferes with echo in the do_configure step. I did two things: quoted the shell variable in the echo statement, and (unnecessarily) changed the return values of this and the base_detect_branch function to "(unknown)", then it all worked after removing "-ltinfo" per the 'original instructions' (https://github.com/naguirre/squeezeos/tree/dev/nae/docker/docker). Code: -------------------- echo "Base build revision: " "${METADATA_REVISION}" >> ${IMAGE_ROOTFS}/etc/squeezeos.version -------------------- adding quotes to make the minimum change. This works for my environment, for now. Perhaps the sources might be updated? I am now able to compile the .063 version of the Atheros SDK from 'ralphy' (https://forums.slimdevices.com/showthread.php?111663-Community-Build-Radio-Firmware&p=990967&viewfull=1#post990967), which added support for the AR6003 chip and broke the AR6002. The wmiconfig and bmiloader .063 versions work as is on the radio with the AR6002 chip, but not the .063 ar6000.ko driver. I am modifying or reverting the .063 code to again support the AR6002 chip by enabling debug and comparing the .063 ar6000.ko with the .062 version. Currently, the driver/chip stalls, but no longer crashes. The .063 SDK includes the recEvent utility, which has provided some interesting clues, see the 'WiFi-connection-unstable' (https://forums.slimdevices.com/showthread.php?109953-WiFi-connection-unstable-lost-on-three-Radios&p=1014039&viewfull=1#post1014039) topic. Because that topic is very active, and the 'wlanpoke' script is long overdue for a bug fix and update, I am cautiously optimistic about future progress on the wireless connectivity issue. ------------------------------------------------------------------------ POMdev's Profile: http://forums.slimdevices.com/member.php?userid=70558 View this thread: http://forums.slimdevices.com/showthread.php?t=111663 _______________________________________________ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio