lewis wight

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Adding files to your file system image #5899
    lewis wight
    Participant

    Thanks Jesse, I’m almost there now, the last part I can’t seem to fix is the defaults.tar.gz What I’m guessing is that where the ppp defaults are kept, then when I flash the file system they are installed. The problem is, despite my best efforts I can not change what goes into that folder. I’ve looked over all files in your package and changed every single one of them that could possibly make up that folder and it still does not effect the contents of the defaults.tar.gz folder. The reason for this is of course to have my custom ppp options into my build. Any guidance would be much appreciated.

    in reply to: Adding files to your file system image #5888
    lewis wight
    Participant

    I took some time and tried some recipes and here is what I found.

    I’ve found that this works:

    do_install() {
    	cd ${WORKDIR}
    	rm -f test
    	tar czf test.tar.gz ${CONFIGFILES}
    	install -m 0777 -d ${D}/etc
    	install -m 0644 ${WORKDIR}/test.tar.gz ${D}/etc/test.tar.gz
    }

    which is exactly the same as:

    do_install() {
    	cd ${WORKDIR}
    	rm -f test
    	tar czf test.tar.gz ${CONFIGFILES}
    	install -m 0777 -d ${D}${sysconfdir}
    	install -m 0644 ${WORKDIR}/test.tar.gz ${D}${sysconfdir}/test.tar.gz
    }

    since ${sysconfdir} = “/etc”

    the problem is I want to install my files on a new folder on the root file system, not in /etc. When I try to do this:

    do_install() {
    	cd ${WORKDIR}
    	rm -f test
    	tar czf test.tar.gz ${CONFIGFILES}
    	install -m 0777 -d ${D}/newFolder
    	install -m 0644 ${WORKDIR}/test.tar.gz ${D}/newFolder/test.tar.gz
    }

    I get this error:

    dp-full-image/etc/device_table is different from the conffile in the new package. The new conffile will be placed at /home/user/Desktop/corecdp-2.3.3/build/tmp/rootfs/corecdp-full-image/etc/device_table-opkg.

    can you please explain how to install my files in directories that are not /etc

    thansk!

    • This reply was modified 9 years, 11 months ago by lewis wight.
    • This reply was modified 9 years, 11 months ago by lewis wight.
    • This reply was modified 9 years, 11 months ago by lewis wight.
    in reply to: Adding files to your file system image #5826
    lewis wight
    Participant

    Anyone have any info on this?

    in reply to: BuildRoot and OCG #5800
    lewis wight
    Participant

    @Tim Scott, did everything else on your device still work, like the gps and GPIO’s?

    in reply to: Issue compiling python 2.7.1 #5799
    lewis wight
    Participant

    Has this issue been fixed yet? I have to have python 2.7 or my project will not work on this device. Please let me know, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)