[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Updating squashfs filesystem

Hi all,

I'm building a Debian live image for an embedded system. I would like to be able to upgrade the system "on the fly", probably using a web interface. Is it possible to replace a squashfs file at runtime? I thought about something like:

1/ remount /live/image as rw
2/ copy the new squashfs image over /live/image/live/filesystem.squashfs
3/ copy the new kernel and initrd
4/ remount /live/image as ro
5/ reboot

I doubt this is a recommended process :P But do you know if it could work? What about aufs? Are there any other solutions to upgrade the whole system?

Thank you.


Reply to: