phunni
11/30/2026, 4:38 PMAnswer Overflow
11/30/2026, 4:38 PMgmpinder
11/30/2026, 4:51 PM/opt. The problem comes down to programs that expect to make changes in their opt directory. The programs that are symlinked exist in a read only area of the file system /usr/lib/opt. Now you could manually install a program in /opt at runtime if you want as that should be mutablephunni
11/30/2026, 6:02 PMgmpinder
11/30/2026, 6:11 PM/var/opt, but files in there at build time do not get added when you boot the image. So instead we symlinked to that lib directory at build time. Any folder in the lib opt is symlinked at runtime into /var/opt using systemd tempfilesgmpinder
11/30/2026, 6:13 PMphunni
12/01/2026, 2:31 PMphunni
12/01/2026, 2:34 PMphunni
12/01/2026, 3:27 PMBirdie
12/02/2026, 3:14 AMBirdie
12/02/2026, 3:20 AMBirdie
12/02/2026, 3:21 AMphunni
12/02/2026, 9:46 AM