CodiahW Posted April 15, 2012 Share Posted April 15, 2012 I was curious how the rootfs file was being made as I would like to roll my own heavily modified version of the wifi pineapple that way even when doing a reset it will go back to my pre-made setup. I was ale to re-build the filesystem and then compress it as squashfs with lzma, however when I attempt to use this file to flash my pineapple router it seems to make it unusable, it starts up but will never issue an ip or even allow me to connect when I set one manually. I was curious if perhaps this could be a file permissions issue? i noticed after extracting the base file system most of the permissions changed when I re-packed the modded files. I did test this by extracting the base files and then just trying to re-pack them without making any changes to see if it could have been a modification I was making, but even without making changes it does not function correctly. Any tips on this, or just a point in the right direction would be helpful. Thanks. -CodiahW Quote Link to comment Share on other sites More sharing options...
Sitwon Posted April 16, 2012 Share Posted April 16, 2012 When you extract the rootfs are you doing that as root or as a normal user? If you extract it as a normal user it won't be able to preserve the ownerships on the extracted files. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 16, 2012 Share Posted April 16, 2012 What I have seen people do is make an installer tar.gz. They upload it to /tmp/, extract and execute a install.sh file. (or whatever they decide on) That then pushes everything to where it belongs. How does that sound? Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
bobbyb1980 Posted April 16, 2012 Share Posted April 16, 2012 Good topic, I've been wondering the same thing for a while and it seems relatively straight forward. I'm going to give it a shot this week. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.