On 08/08/2012 11:38 PM, Scott Sullivan wrote: > On 08/08/2012 09:57 PM, Steven A. Falco wrote: >> On 08/08/2012 09:14 PM, Scott Sullivan wrote: >>> On 08/08/2012 02:44 PM, Steven A. Falco wrote: >>>> On 08/07/2012 12:09 PM, Scott Sullivan wrote: >>> [...] >>>>> # Needs to be Modified to support Fedora .zx tar archive and /lib >>>>> symbolic link. Working on a patch. >>>> >>>> Here is a patch that fixes both the xz and symbolic link: >>>> >>>> --- /home/sfalco/a1x-media-create.sh 2012-08-08 14:10:38.323150167 -0400 >>>> +++ ./a1x-media-create.sh 2012-08-08 14:38:29.609848573 -0400 >>>> @@ -107,6 +107,8 @@ >>>> sudo tar xzf ../$1 >>>> elif [ ${fileext} == "7z" ] | [ ${fileext} == "lzma" ]; then >>>> sudo 7z x ../$1 >>>> + elif [ ${fileext} == "xz" ]; then >>>> + sudo tar xJf ../$1 >>>> else >>>> echo "Unknown file extension: ${fileext}" >>>> popd >>>> @@ -217,6 +219,14 @@ >>>> cleanup >>>> fi >>>> echo "Copy hwpack rootfs files" >>>> + # Fedora uses a softlink for lib. Adjust, if needed. >>>> + if [ -L mntSDrootfs/lib ]; then >>>> + # Find where it points. For Fedora, we expect usr/lib. >>>> + DEST=`/bin/ls -l mntSDrootfs/lib | sed -e 's,.* ,,'` >>>> + if [ "$DEST" = "usr/lib" ]; then >>>> + mv hwpack/rootfs/lib hwpack/rootfs/usr >>>> + fi >>>> + fi >>>> sudo cp -a hwpack/rootfs/* mntSDrootfs >> ${logfile} >>>> if [ $? -ne 0 ]; then >>>> echo "Failed to copy rootfs hwpack files to SD Card" >>> >>> >>> Thanks Steven. My time got busy and this got pushed to my back burner, >>> greatly appreciated. >>> >>> Have you tired getting this applied to the upstream yet? >>> >> >> I created a fork on github, put in my changes, and made a pull >> request. My version is here: >> >> git://github.com/stevefalco/a10-tools.git >> >> Please give it a try and feed me any comments. >> >> Steve > > I snagged it and ran up a fresh SD card. It booted as expected and so far > networking is working. Now to just to find some time to get the VGA working > under Fedora. >
Thanks for the confirmation. The pull was accepted, so it is now in the mainline. Steve _______________________________________________ arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm