variable: Set LINUX variable on Linux target systems

Fixes: #23840
25 jobs for !7556 with linux-var in 5 minutes and 7 seconds (queued for 8 seconds)
merge request