base-files: set FAILSAFE in /etc/profile when /tmp/.failsafe exists
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 29 Dec 2017 13:34:03 +0000 (14:34 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 29 Dec 2017 13:34:03 +0000 (14:34 +0100)
commit8170f280c4c8e45a50e9d4942e7358e1271e697f
tree4f13d1f98a9f7abd79ebbfd31efaa1fc4378eb47
parent20c349f68ca108d8b20363efbf5fa698e8446009
base-files: set FAILSAFE in /etc/profile when /tmp/.failsafe exists

Since dropbear clears the environment, FAILSAFE was not set as intended in
failsafe mode. This also broke sysupgrade from failsafe mode over SSH.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/Makefile
package/base-files/files/etc/profile