lewis wight
Forum Replies Created
-
AuthorPosts
-
lewis wightParticipant
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.
lewis wightParticipantI 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 10 years, 5 months ago by lewis wight.
- This reply was modified 10 years, 5 months ago by lewis wight.
- This reply was modified 10 years, 5 months ago by lewis wight.
lewis wightParticipantAnyone have any info on this?
lewis wightParticipant@Tim Scott, did everything else on your device still work, like the gps and GPIO’s?
lewis wightParticipantHas 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!
-
AuthorPosts