Hello Adolf,
Sorry for not being faster at this… Still catching up :)
This is basically a variable which used to be called MACHINE but was replaced with xxxMACHINExxx because the string “MACHINE” was actually used in some filename. Not sure I am happy with that name…
When the root files are generated, we don’t replace anything, but if we read a rootfile from config/rootfiles, we will replace this variable with the architecture we are building for. Sometimes this method allows us to have just a generic root file for all architectures, sometimes this does not work because there are extra files or something like that.
So when you have such a case, you need to manually replace the architecture with the placeholder and check if all other architectures generate the same file.
-Michael
On 5 Jul 2024, at 11:39, Adolf Belka adolf.belka@ipfire.org wrote:
Hi All,
When a rootfile is in one of the specific architecture directories, e.g. aarch64 do all the aarch64 references just get left as that or should they get changed to xxxMACHINExxx.
Looking at some files in the directories it looks like they get left alone but when I have done the samba rootfile update for x86_64 I have , most times, changed any x86_64 reference to xxxMACHINExxx.
What is the correct approach so I don't go messing things up.
Regards,
Adolf