Skip to content

swupdate: customization of default website path

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] swupdate: customization of default website path

Hello,

Quoted 9 lines · Jordan Yelloz

This patch allows for customization of the destination directory of the swupdate default webserver static files. Some configurations use a read-only rootfs and have a tmpfs mounted on /var so /var/www/swupdate is not an option for those systems. The newly added option allows users to install the website files in somewhere more stable like a subdirectory of /usr/share/swupdate or /usr/share/factory in the case of a volatile /var.

The previous fixed value of /var/www/swupdate is preserved as the default so this change shouldn't disturb any existing configurations.

Thanks for your proposal. However, it's Buildroot's policy to install all the web-related stuff in /var/www. Nothing prevents you from moving things around in a post-build script, and I think that's what we would recommend in your situation.

Look at all the jquery* packages, the bootstrap package, and many more packages. We can't add an option for all of them, so we prefer to install in a default location that is somewhat sane, and leave it to post-build scripts to move things around if needed.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com